mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Cmake: fix incorrect modification of a QT_LIBRARIES
It's a list, not a string. Treating it as a string creates all kinds of exciting weird errors that make no sense. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
47c7958ed3
commit
5d8f3c1ebd
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ set(QT_TEST_LIBRARIES ${QT_LIBRARIES} Qt5::Test)
|
|||
if (BTSUPPORT AND "${Qt5Core_VERSION_STRING}" STRLESS "5.4.0")
|
||||
set(BTSUPPORT OFF)
|
||||
message(STATUS "Turning off Bluetooth support as Qt version ${Qt5Core_VERSION_STRING} is insufficiant for that")
|
||||
string(REPLACE "Qt5::Bluetooth" "" QT_LIBRARIES ${QT_LIBRARIES})
|
||||
list(REMOVE_ITEM QT_LIBRARIES Qt5::Bluetooth)
|
||||
endif()
|
||||
|
||||
# Generate the ssrf-config.h every 'make'
|
||||
|
|
Loading…
Reference in a new issue