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