summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index beb86adbe..56cf02456 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -141,6 +141,12 @@ if(${SUBSURFACE_TARGET_EXECUTABLE} MATCHES "DesktopExecutable")
else()
set(SUBSURFACE_TARGET subsurface)
endif()
+ list(APPEND QT_EXTRA_COMPONENTS Quick)
+ list(APPEND QT_EXTRA_COMPONENTS Location)
+ list(APPEND QT_EXTRA_COMPONENTS QuickWidgets)
+ list(APPEND QT_EXTRA_LIBRARIES Qt5::Quick)
+ list(APPEND QT_EXTRA_LIBRARIES Qt5::Location)
+ list(APPEND QT_EXTRA_LIBRARIES Qt5::QuickWidgets)
remove_definitions(-DSUBSURFACE_MOBILE)
elseif(${SUBSURFACE_TARGET_EXECUTABLE} MATCHES "MobileExecutable")
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")