X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Fmain%2FCMakeLists.txt;h=e5169f78393f277d4e60918a31f2ac473b8ed77f;hb=4e8a8e8bba08252b1976428942a089fd560d19d9;hp=a5b83052e37e3ecbecd6fecee9ce0aa5ac9f8659;hpb=4d81227da330c21c7aa0badc88bd5ad4467067fb;p=evaf
diff --git a/src/main/CMakeLists.txt b/src/main/CMakeLists.txt
index a5b8305..e5169f7 100644
--- a/src/main/CMakeLists.txt
+++ b/src/main/CMakeLists.txt
@@ -1,2 +1,4 @@
-add_subdirectory(GUI)
-#add_subdirectory(CLI)
+if(QT_QTGUI_FOUND)
+ add_subdirectory(GUI)
+endif(QT_QTGUI_FOUND)
+add_subdirectory(CLI)