summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-23 21:28:29 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-24 22:32:56 -0700
commitd67421c9e64d434ffbb7d8b23d92a33de0f29208 (patch)
treee8a9faba9caa9abbf003f1ff290c9904b848dadf /CMakeLists.txt
parent6f1590b0980980146375bf94b53a130907bddb4e (diff)
downloadsubsurface-d67421c9e64d434ffbb7d8b23d92a33de0f29208.tar.gz
Enable BLE on Android
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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()