diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-11-03 09:20:47 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-03 09:20:47 -0800 |
commit | ba55c603953bb530de2fe97fa46098d8c87e6aa5 (patch) | |
tree | 38d434dff85778e317f2ad4204d8be520608903e | |
parent | 0196ac1568f4fe52669f6f19db14181b0e531b0d (diff) | |
download | subsurface-ba55c603953bb530de2fe97fa46098d8c87e6aa5.tar.gz |
Cmake: fix BT definition
This was set twice, the first time before we checked that we have a new
enough Qt version installed.
Also fixed a typo.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d9cb1f60..57a10c461 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,10 +26,6 @@ option(FTDISUPPORT "enable support for libftdi based serial" OFF) add_definitions(-DSUBSURFACE_SOURCE="${CMAKE_SOURCE_DIR}") -if(BTSUPPORT) - add_definitions(-DBT_SUPPORT) -endif() - set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${${PROJECT_NAME}_SOURCE_DIR}/cmake/Modules @@ -223,7 +219,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") + message(STATUS "Turning off Bluetooth support as Qt version ${Qt5Core_VERSION_STRING} is insufficient for that") list(REMOVE_ITEM QT_LIBRARIES Qt5::Bluetooth) endif() |