X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;f=src%2Fapps%2FPswGen%2FCMakeLists.txt;h=d6128529a0d96f91a91e3c51d62fe0dc9cbfaefc;hb=36bd93cf4263b118366b3db2d26e8efb1ac1b690;hp=01770c2e4c6f021d7602cddc0a904fe6265d6fad;hpb=cdc02ee6da9c883125d5cff563bdcfcc0bf2b7b8;p=evaf
diff --git a/src/apps/PswGen/CMakeLists.txt b/src/apps/PswGen/CMakeLists.txt
index 01770c2..d612852 100644
--- a/src/apps/PswGen/CMakeLists.txt
+++ b/src/apps/PswGen/CMakeLists.txt
@@ -1,6 +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)