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