Cmake: don't add the BT_SUPPORT define too early

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-12-21 10:53:55 -08:00
parent a7cf7eb967
commit b87df3ecaa

View file

@ -183,7 +183,6 @@ endif()
if(BTSUPPORT)
list(APPEND QT_EXTRA_COMPONENTS Bluetooth)
list(APPEND QT_EXTRA_LIBRARIES Qt5::Bluetooth)
add_definitions(-DBT_SUPPORT)
endif()
find_package(Qt5 REQUIRED COMPONENTS Core Concurrent Widgets Network Svg Test LinguistTools Positioning ${QT_EXTRA_COMPONENTS})