mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-17 20:16:16 +00:00
Enable BT_SUPPORT compilation flag
We need to enable the BT_SUPPORT compilation flag to get the support built in. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9cebcb836f
commit
164d2f8c07
1 changed files with 4 additions and 0 deletions
|
@ -198,6 +198,10 @@ if (BTSUPPORT AND "${Qt5Core_VERSION_STRING}" STRLESS "5.4.0")
|
||||||
list(REMOVE_ITEM QT_LIBRARIES Qt5::Bluetooth)
|
list(REMOVE_ITEM QT_LIBRARIES Qt5::Bluetooth)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(BTSUPPORT)
|
||||||
|
add_definitions(-DBT_SUPPORT)
|
||||||
|
endif()
|
||||||
|
|
||||||
#set up the subsurface_link_libraries variable
|
#set up the subsurface_link_libraries variable
|
||||||
set(SUBSURFACE_LINK_LIBRARIES ${SUBSURFACE_LINK_LIBRARIES} ${LIBDIVECOMPUTER_LIBRARIES} ${LIBGIT2_LIBRARIES} ${LIBUSB_LIBRARIES})
|
set(SUBSURFACE_LINK_LIBRARIES ${SUBSURFACE_LINK_LIBRARIES} ${LIBDIVECOMPUTER_LIBRARIES} ${LIBGIT2_LIBRARIES} ${LIBUSB_LIBRARIES})
|
||||||
qt5_add_resources(SUBSURFACE_RESOURCES subsurface.qrc)
|
qt5_add_resources(SUBSURFACE_RESOURCES subsurface.qrc)
|
||||||
|
|
Loading…
Add table
Reference in a new issue