X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;f=src%2Flibs%2FCMakeLists.txt;h=458a3d02d6194e7ef9e7bd3c722095d4b20f6128;hb=4c0329c5c2690bde28212c89029015a5da4c7e34;hp=09e2f823ff740c963de6dedae7d347a49d0456bb;hpb=5748bd7fdfa26ef2dd56735f2b7f77ad02c16ae0;p=evaf
diff --git a/src/libs/CMakeLists.txt b/src/libs/CMakeLists.txt
index 09e2f82..458a3d0 100644
--- a/src/libs/CMakeLists.txt
+++ b/src/libs/CMakeLists.txt
@@ -1,3 +1,5 @@
add_subdirectory(Plugins)
add_subdirectory(Common)
-add_subdirectory(Gui)
+if(Qt5Widgets_FOUND)
+ add_subdirectory(Gui)
+endif(Qt5Widgets_FOUND)