X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;f=src%2Fapps%2FPswGen%2FCMakeLists.txt;h=d6128529a0d96f91a91e3c51d62fe0dc9cbfaefc;hb=4a845c9a4d543528ab0284835c84c3f4e0bf7b25;hp=c7c1db54fe73b80b5ab74fb9732e561805d52f0c;hpb=4a856bc600d1819e01c797881e0591810737c2fd;p=evaf
diff --git a/src/apps/PswGen/CMakeLists.txt b/src/apps/PswGen/CMakeLists.txt
index c7c1db5..d612852 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(Qt5Widgets_FOUND)
+ add_subdirectory(GUI)
+endif(Qt5Widgets_FOUND)
+add_subdirectory(CLI)
add_subdirectory(Generator)
add_subdirectory(Storage)