mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-17 19:16:16 +00:00
cmake: enable BLE on Macs
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2d2bb95482
commit
08e4d2dc5e
1 changed files with 1 additions and 2 deletions
|
@ -220,9 +220,8 @@ if (BTSUPPORT AND "${Qt5Core_VERSION}" VERSION_LESS 5.4.0)
|
|||
endif()
|
||||
|
||||
# Windows Qt doesn't support BLE at all
|
||||
# Mac hasn't been tested, yet - so far it's disabled
|
||||
# the rest of them need at least 5.6 to be reasonable but really, you want 5.9.1
|
||||
if (BTSUPPORT AND (ANDROID OR CMAKE_SYSTEM_NAME STREQUAL "Linux"))
|
||||
if (BTSUPPORT AND NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||
if ("${Qt5Core_VERSION}" VERSION_LESS 5.6.0)
|
||||
message(STATUS "Turning off BLE support as Qt version ${Qt5Core_VERSION} is insufficient for that")
|
||||
else()
|
||||
|
|
Loading…
Add table
Reference in a new issue