aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-09 12:11:06 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-11 17:25:00 -0700
commit93ba8c583a4b38d34811f5592160ece31ddd7ea8 (patch)
treef24c6626fae9363009388e67e81df0a797148d06
parent7e243fe363daddfa8fa8dfd8f908311804962e03 (diff)
downloadsubsurface-93ba8c583a4b38d34811f5592160ece31ddd7ea8.tar.gz
smtk2ssrf: build fix
This allows building on Mac and deals with the new dependency in the core library. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--smtk-import/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/smtk-import/CMakeLists.txt b/smtk-import/CMakeLists.txt
index df15d8b0a..d13d79fa2 100644
--- a/smtk-import/CMakeLists.txt
+++ b/smtk-import/CMakeLists.txt
@@ -42,6 +42,7 @@ find_package(Qt5 REQUIRED COMPONENTS Core
Test
LinguistTools
Positioning
+ Quick
Bluetooth)
set(QT_LIBRARIES Qt5::Core
@@ -50,6 +51,7 @@ set(QT_LIBRARIES Qt5::Core
Qt5::Network
Qt5::Svg
Qt5::Positioning
+ Qt5::Quick
Qt5::Bluetooth)
set(QT5_INCLUDE_PATH ${Qt5_INCLUDE_DIRS} ${Qt5Widgets_INCLUDE_DIRS} ${Qt5Core_INCLUDE_DIRS})
@@ -65,7 +67,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
NAMES subsurface_corelib
PATHS ${CMAKE_BINARY_DIR}/../subsurface/core
)
-elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
+elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux" OR CMAKE_SYSTEM_NAME STREQUAL "Darwin")
find_library(SSRF_CORELIB
NAMES subsurface_corelib
PATHS ${SSRF_PATH}build/core