X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Fapps%2FPswGen%2FCMakeLists.txt;h=3eadf22269486732b3c9eae9d7aad342a5298cc6;hb=2ed96066b8600d07d9ada5dc44e9768fe56e633c;hp=c7c1db54fe73b80b5ab74fb9732e561805d52f0c;hpb=4a856bc600d1819e01c797881e0591810737c2fd;p=evaf
diff --git a/src/apps/PswGen/CMakeLists.txt b/src/apps/PswGen/CMakeLists.txt
index c7c1db5..3eadf22 100644
--- a/src/apps/PswGen/CMakeLists.txt
+++ b/src/apps/PswGen/CMakeLists.txt
@@ -1,5 +1,8 @@
set(eVaf_INCLUDE ${eVaf_INCLUDE} ${CMAKE_SOURCE_DIR}/src/apps/PswGen)
-add_subdirectory(GUI)
+if(QT_QTGUI_FOUND)
+ add_subdirectory(GUI)
+endif(QT_QTGUI_FOUND)
+add_subdirectory(CLI)
add_subdirectory(Generator)
add_subdirectory(Storage)