mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cmake: don't add the BT_SUPPORT define too early
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a7cf7eb967
commit
b87df3ecaa
1 changed files with 0 additions and 1 deletions
|
@ -183,7 +183,6 @@ endif()
|
||||||
if(BTSUPPORT)
|
if(BTSUPPORT)
|
||||||
list(APPEND QT_EXTRA_COMPONENTS Bluetooth)
|
list(APPEND QT_EXTRA_COMPONENTS Bluetooth)
|
||||||
list(APPEND QT_EXTRA_LIBRARIES Qt5::Bluetooth)
|
list(APPEND QT_EXTRA_LIBRARIES Qt5::Bluetooth)
|
||||||
add_definitions(-DBT_SUPPORT)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(Qt5 REQUIRED COMPONENTS Core Concurrent Widgets Network Svg Test LinguistTools Positioning ${QT_EXTRA_COMPONENTS})
|
find_package(Qt5 REQUIRED COMPONENTS Core Concurrent Widgets Network Svg Test LinguistTools Positioning ${QT_EXTRA_COMPONENTS})
|
||||||
|
|
Loading…
Add table
Reference in a new issue