From: Enar Väikene Date: Tue, 12 Feb 2013 16:28:42 +0000 (+0200) Subject: Fixed CMake files for GUI-less builds. X-Git-Url: https://vaikene.ee/gitweb/pswgen07.html?a=commitdiff_plain;h=a27d2c4fb3cddf25941901fe94055329afd73fb6;p=evaf Fixed CMake files for GUI-less builds. --- diff --git a/src/apps/CMakeLists.txt b/src/apps/CMakeLists.txt index 1bd0076..65cc4c4 100644 --- a/src/apps/CMakeLists.txt +++ b/src/apps/CMakeLists.txt @@ -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) diff --git a/src/apps/FileFinder/CMakeLists.txt b/src/apps/FileFinder/CMakeLists.txt index 74c9f28..1e6d01c 100644 --- a/src/apps/FileFinder/CMakeLists.txt +++ b/src/apps/FileFinder/CMakeLists.txt @@ -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)