]> vaikene.ee Git - evaf/commitdiff
Fixed CMake files for GUI-less builds.
authorEnar Väikene <enar@vaikene.net>
Tue, 12 Feb 2013 16:28:42 +0000 (18:28 +0200)
committerEnar Väikene <enar@vaikene.net>
Tue, 12 Feb 2013 16:28:42 +0000 (18:28 +0200)
src/apps/CMakeLists.txt
src/apps/FileFinder/CMakeLists.txt

index 1bd0076508fa262792a500bf53e8b03bb541c55b..65cc4c47b3cf29ace6ed94eec7a8fcb77138ce68 100644 (file)
@@ -1,5 +1,5 @@
-set(eVaf_INCLUDE ${eVaf_INCLUDE} ${CMAKE_SOURCE_DIR}/src/apps/FileFinder)
-
 add_subdirectory(PswGen)
 add_subdirectory(FileFinder)
-add_subdirectory(ScosTime)
+if(QT_QTGUI_FOUND)
+  add_subdirectory(ScosTime)
+endif(QT_QTGUI_FOUND)
index 74c9f28a1e5fa0bf76ab2fd4735bcb1831ec75e5..1e6d01c06ac744a84f82439d1248be71eb4c8f2d 100644 (file)
@@ -1,3 +1,5 @@
+set(eVaf_INCLUDE ${eVaf_INCLUDE} ${CMAKE_SOURCE_DIR}/src/apps/FileFinder)
+
 add_subdirectory(Engine)
 if(QT_QTGUI_FOUND)
   add_subdirectory(GUI)