X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Fapps%2FCMakeLists.txt;h=d9521a3b3709c12c4b9ac4f89ab7f00734594f43;hb=4c0329c5c2690bde28212c89029015a5da4c7e34;hp=65cc4c47b3cf29ace6ed94eec7a8fcb77138ce68;hpb=66f5040b87e8071012efbc928a4f28f8bdd615b1;p=evaf
diff --git a/src/apps/CMakeLists.txt b/src/apps/CMakeLists.txt
index 65cc4c4..d9521a3 100644
--- a/src/apps/CMakeLists.txt
+++ b/src/apps/CMakeLists.txt
@@ -1,5 +1,7 @@
-add_subdirectory(PswGen)
+if(Qt5Sql_FOUND)
+ add_subdirectory(PswGen)
+endif(Qt5Sql_FOUND)
add_subdirectory(FileFinder)
-if(QT_QTGUI_FOUND)
+if(Qt5Widgets_FOUND)
add_subdirectory(ScosTime)
-endif(QT_QTGUI_FOUND)
+endif(Qt5Widgets_FOUND)