X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;ds=sidebyside;f=src%2Fapps%2FCMakeLists.txt;h=d9521a3b3709c12c4b9ac4f89ab7f00734594f43;hb=36bd93cf4263b118366b3db2d26e8efb1ac1b690;hp=1bd0076508fa262792a500bf53e8b03bb541c55b;hpb=84f796df7f84e8e13efb68bbe1cb9f5c804c2228;p=evaf
diff --git a/src/apps/CMakeLists.txt b/src/apps/CMakeLists.txt
index 1bd0076..d9521a3 100644
--- a/src/apps/CMakeLists.txt
+++ b/src/apps/CMakeLists.txt
@@ -1,5 +1,7 @@
-set(eVaf_INCLUDE ${eVaf_INCLUDE} ${CMAKE_SOURCE_DIR}/src/apps/FileFinder)
-
-add_subdirectory(PswGen)
+if(Qt5Sql_FOUND)
+ add_subdirectory(PswGen)
+endif(Qt5Sql_FOUND)
add_subdirectory(FileFinder)
-add_subdirectory(ScosTime)
+if(Qt5Widgets_FOUND)
+ add_subdirectory(ScosTime)
+endif(Qt5Widgets_FOUND)