mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Enable BT compilation earlier
Commit ba55c60395
broke Bluetooth
support for me. This patch moves the setting of BT_SUPPORT earlier,
re-enabling BT download option on the download dialog.
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
003ddc6b52
commit
77d7e773b9
1 changed files with 4 additions and 4 deletions
|
@ -221,6 +221,10 @@ if (BTSUPPORT AND "${Qt5Core_VERSION_STRING}" STRLESS "5.4.0")
|
|||
list(REMOVE_ITEM QT_LIBRARIES Qt5::Bluetooth)
|
||||
endif()
|
||||
|
||||
if(BTSUPPORT)
|
||||
add_definitions(-DBT_SUPPORT)
|
||||
endif()
|
||||
|
||||
# Generate the ssrf-config.h every 'make'
|
||||
file(WRITE ${CMAKE_BINARY_DIR}/version.h.in
|
||||
"#define VERSION_STRING \"@VERSION_STRING@\"
|
||||
|
@ -328,10 +332,6 @@ if(FBSUPPORT)
|
|||
add_definitions(-DFBSUPPORT)
|
||||
endif()
|
||||
|
||||
if(BTSUPPORT)
|
||||
add_definitions(-DBT_SUPPORT)
|
||||
endif()
|
||||
|
||||
|
||||
# add pthread to the end of the library list on Linux
|
||||
# this is only needed on Ubuntu (why do these idiots break everything?)
|
||||
|
|
Loading…
Reference in a new issue