X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Fplugins%2FCMakeLists.txt;h=b4bf96d75ea21f142e0e8bb1312e06b1a796af0f;hb=0c61450fcffcb36a6e23ca5b083c26543d956084;hp=133d289e0a3433a860911fecd5ad4a0a26fe564c;hpb=6490924aa3d05fe32a3437fbd6cdde289a6a9a6b;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)