summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c59d13e55..2d2248f5b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -210,6 +210,7 @@ if(SUBSURFACE_MOBILE)
set(QT_QUICK_LIB Qt5::Quick)
set(QT_LOCATION_PKG Location)
set(QT_LOCATION_LIB Qt5::Positioning)
+ add_definitions(-DSUBSURFACE_MOBILE)
endif()
if(ANDROID)
set(ANDROID_PKG AndroidExtras)
@@ -363,7 +364,6 @@ if(SUBSURFACE_MOBILE)
subsurface-mobile-main.cpp
subsurface-mobile-helper.cpp
)
- add_definitions(-DSUBSURFACE_MOBILE)
qt5_add_resources(MOBILE_RESOURCES qt-mobile/qml/mobile-resources.qrc)
if(ANDROID)
add_library(subsurface-mobile SHARED ${MOBILE_SRC} ${SUBSURFACE_PKG} ${SUBSURFACE_RESOURCES} ${MOBILE_RESOURCES})