Enable BLE on Android

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-06-23 21:28:29 -07:00
parent 6f1590b098
commit d67421c9e6

View file

@ -217,7 +217,7 @@ if (BTSUPPORT AND "${Qt5Core_VERSION}" VERSION_LESS 5.4.0)
endif() endif()
#I can't test MacOS, and Windows Qt doesn't support BLE at all afaik #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) set(BLESUPPORT ON)
endif() endif()