summaryrefslogtreecommitdiff
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt
index 1f8140c..7fa439e 100644
--- a/tests/auto/CMakeLists.txt
+++ b/tests/auto/CMakeLists.txt
@@ -3,7 +3,9 @@
if(TARGET Qt::Widgets)
add_subdirectory(qsvgdevice)
- add_subdirectory(qsvggenerator)
+ if(TARGET Qt::Xml) # special case
+ add_subdirectory(qsvggenerator) # special case
+ endif() # special case
add_subdirectory(qsvgrenderer)
add_subdirectory(qsvgplugin)
add_subdirectory(qicon_svg)