X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;ds=inline;f=src%2Fmain%2FCMakeLists.txt;h=e5169f78393f277d4e60918a31f2ac473b8ed77f;hb=8ca71a4ced13c50ecd1e3b9d9c15546ac0d48045;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)