X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;f=src%2Fmain%2FCMakeLists.txt;h=29d32a72ab6f0d62589e9dbea6ff484ba25c1713;hb=refs%2Fheads%2Fqt5;hp=b686c315eecb5f64a70f081af6c9ec2e6d667ccb;hpb=441d1b38e0900f56891f495a94a08dc8d48e0a32;p=evaf
diff --git a/src/main/CMakeLists.txt b/src/main/CMakeLists.txt
index b686c31..29d32a7 100644
--- a/src/main/CMakeLists.txt
+++ b/src/main/CMakeLists.txt
@@ -1,2 +1,4 @@
-add_subdirectory(gui)
-add_subdirectory(cli)
+if(Qt5Widgets_FOUND)
+ add_subdirectory(GUI)
+endif(Qt5Widgets_FOUND)
+add_subdirectory(CLI)