diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-06-23 21:28:29 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-24 22:32:56 -0700 |
commit | d67421c9e64d434ffbb7d8b23d92a33de0f29208 (patch) | |
tree | e8a9faba9caa9abbf003f1ff290c9904b848dadf | |
parent | 6f1590b0980980146375bf94b53a130907bddb4e (diff) | |
download | subsurface-d67421c9e64d434ffbb7d8b23d92a33de0f29208.tar.gz |
Enable BLE on Android
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | CMakeLists.txt | 2 |
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() |