summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--profile-widget/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/profile-widget/CMakeLists.txt b/profile-widget/CMakeLists.txt
index f0a1d8439..73807fbd7 100644
--- a/profile-widget/CMakeLists.txt
+++ b/profile-widget/CMakeLists.txt
@@ -14,6 +14,9 @@ set(SUBSURFACE_PROFILE_LIB_SRCS
tankitem.cpp
)
source_group("Subsurface Profile" FILES ${SUBSURFACE_PROFILE_LIB_SRCS})
+if (SUBSURFACE_MOBILE)
+ add_definitions(-DSUBSURFACE_MOBILE=1)
+endif()
add_library(subsurface_profile STATIC ${SUBSURFACE_PROFILE_LIB_SRCS})
-target_link_libraries(subsurface_profile ${QT_LIBRARIES}) \ No newline at end of file
+target_link_libraries(subsurface_profile ${QT_LIBRARIES})