summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 33ee56e64..ec0aa2caf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -88,10 +88,12 @@ include(cmake/Modules/pkgconfig_helper.cmake)
# module file.
include(cmake/Modules/HandleFindGit2.cmake)
include(cmake/Modules/HandleFindLibDiveComputer.cmake)
-include(cmake/Modules/HandleFindMarble.cmake)
-include(cmake/Modules/HandleFindGrantlee.cmake)
+if(${SUBSURFACE_TARGET_EXECUTABLE} MATCHES "DesktopExecutable")
+ include(cmake/Modules/HandleFindMarble.cmake)
+ include(cmake/Modules/HandleFindGrantlee.cmake)
+ include(cmake/Modules/HandleUserManual.cmake)
+endif()
include(cmake/Modules/HandleFtdiSupport.cmake)
-include(cmake/Modules/HandleUserManual.cmake)
include(cmake/Modules/HandleVersionGeneration.cmake)
include(cmake/Modules/RunOnBuildDir.cmake)