summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qtsvg.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/qtsvg.pro b/qtsvg.pro
index 5d4666b..d75ae01 100644
--- a/qtsvg.pro
+++ b/qtsvg.pro
@@ -14,7 +14,8 @@ module_qtsvg_demos.depends = module_qtsvg_src
module_qtsvg_tests.subdir = tests
module_qtsvg_tests.target = module-qtsvg-tests
module_qtsvg_tests.depends = module_qtsvg_src
-module_qtsvg_tests.CONFIG = no_default_target no_default_install
+module_qtsvg_tests.CONFIG = no_default_install
+!contains(QT_BUILD_PARTS,tests):module_qtsvg_tests.CONFIG += no_default_target
SUBDIRS += module_qtsvg_src \
module_qtsvg_examples \