summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt8
-rw-r--r--src/plugins/CMakeLists.txt6
-rw-r--r--src/plugins/iconengines/CMakeLists.txt2
-rw-r--r--src/plugins/imageformats/CMakeLists.txt2
4 files changed, 15 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index acf82c0..f1b6e3b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,2 +1,6 @@
-add_subdirectory(svg)
-add_subdirectory(plugins)
+# Generated from src.pro.
+
+if(TARGET Qt::Gui)
+ add_subdirectory(svg)
+ add_subdirectory(plugins)
+endif()
diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt
index ca95765..4a8ccf9 100644
--- a/src/plugins/CMakeLists.txt
+++ b/src/plugins/CMakeLists.txt
@@ -1,2 +1,6 @@
+# Generated from plugins.pro.
+
add_subdirectory(iconengines)
-add_subdirectory(imageformats)
+if(QT_FEATURE_imageformatplugin)
+ add_subdirectory(imageformats)
+endif()
diff --git a/src/plugins/iconengines/CMakeLists.txt b/src/plugins/iconengines/CMakeLists.txt
index 6a2b160..f2491a0 100644
--- a/src/plugins/iconengines/CMakeLists.txt
+++ b/src/plugins/iconengines/CMakeLists.txt
@@ -1 +1,3 @@
+# Generated from iconengines.pro.
+
add_subdirectory(svgiconengine)
diff --git a/src/plugins/imageformats/CMakeLists.txt b/src/plugins/imageformats/CMakeLists.txt
index d0c989a..4336bbf 100644
--- a/src/plugins/imageformats/CMakeLists.txt
+++ b/src/plugins/imageformats/CMakeLists.txt
@@ -1 +1,3 @@
+# Generated from imageformats.pro.
+
add_subdirectory(svg)