From a27d2c4fb3cddf25941901fe94055329afd73fb6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Enar=20V=C3=A4ikene?= Date: Tue, 12 Feb 2013 18:28:42 +0200 Subject: [PATCH] Fixed CMake files for GUI-less builds. --- src/apps/CMakeLists.txt | 6 +++--- src/apps/FileFinder/CMakeLists.txt | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) 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) -- 2.47.0