From d67421c9e64d434ffbb7d8b23d92a33de0f29208 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 23 Jun 2017 21:28:29 -0700 Subject: Enable BLE on Android Signed-off-by: Dirk Hohndel --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 12bf1c4e8..0f75e47b6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -217,7 +217,7 @@ if (BTSUPPORT AND "${Qt5Core_VERSION}" VERSION_LESS 5.4.0) endif() #I can't test MacOS, and Windows Qt doesn't support BLE at all afaik -if (BTSUPPORT AND CMAKE_SYSTEM_NAME STREQUAL "Linux") +if (BTSUPPORT AND (ANDROID OR CMAKE_SYSTEM_NAME STREQUAL "Linux")) set(BLESUPPORT ON) endif() -- cgit v1.2.3-70-g09d2