X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Fmain%2FCMakeLists.txt;h=e5169f78393f277d4e60918a31f2ac473b8ed77f;hb=f92a5564be90f1e631b43e4978b798a146f70d59;hp=b686c315eecb5f64a70f081af6c9ec2e6d667ccb;hpb=441d1b38e0900f56891f495a94a08dc8d48e0a32;p=evaf
diff --git a/src/main/CMakeLists.txt b/src/main/CMakeLists.txt
index b686c31..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)