diff options
-rw-r--r-- | qtsensors.pro | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qtsensors.pro b/qtsensors.pro index f7bf2a0..7fec9be 100644 --- a/qtsensors.pro +++ b/qtsensors.pro @@ -8,8 +8,9 @@ SUBDIRS += module_qtsensors_tests module_qtsensors_tests.subdir = tests module_qtsensors_tests.target = module-qtsensors-tests module_qtsensors_tests.depends = module_qtsensors_src +module_qtsensors_tests.CONFIG = no_default_install !contains(QT_BUILD_PARTS,tests) { - module_qtsensors_tests.CONFIG = no_default_target no_default_install + module_qtsensors_tests.CONFIG += no_default_target } SUBDIRS += module_qtsensors_examples |