diff --git a/qttools.pro b/qttools.pro index 871d8cc999110379f6bcb353c385885cf90793ee..2e678ed839915060711e55744ea8b1fce081b64b 100644 --- a/qttools.pro +++ b/qttools.pro @@ -6,7 +6,8 @@ module_qttools_src.target = module-qttools-src module_qttools_tests.subdir = tests module_qttools_tests.target = module-qttools-tests module_qttools_tests.depends = module_qttools_src -module_qttools_tests.CONFIG = no_default_target no_default_install +module_qttools_tests.CONFIG = no_default_install +!contains(QT_BUILD_PARTS,tests):module_qttools_tests.CONFIG += no_default_target SUBDIRS += module_qttools_src \ module_qttools_tests \