X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Fplugins%2FCMakeLists.txt;h=b4bf96d75ea21f142e0e8bb1312e06b1a796af0f;hb=4c0329c5c2690bde28212c89029015a5da4c7e34;hp=133d289e0a3433a860911fecd5ad4a0a26fe564c;hpb=0957525838e501a4609a15b8d7a765da43362025;p=evaf
diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt
index 133d289..b4bf96d 100644
--- a/src/plugins/CMakeLists.txt
+++ b/src/plugins/CMakeLists.txt
@@ -1,3 +1,5 @@
-add_subdirectory(SdiWindow)
-add_subdirectory(LogView)
-add_subdirectory(Test)
+if(Qt5Widgets_FOUND)
+ add_subdirectory(SdiWindow)
+ add_subdirectory(LogView)
+ add_subdirectory(Test)
+endif(Qt5Widgets_FOUND)