From 93ba8c583a4b38d34811f5592160ece31ddd7ea8 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 9 Sep 2018 12:11:06 -0700 Subject: smtk2ssrf: build fix This allows building on Mac and deals with the new dependency in the core library. Signed-off-by: Dirk Hohndel --- smtk-import/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'smtk-import') 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 -- cgit v1.2.3-70-g09d2