diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2011-11-16 11:12:18 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-16 02:14:35 +0100 |
commit | 45bd60a092b57ddf26e7e2ba716e5d71ce2a2fd5 (patch) | |
tree | 51e456c3dae02906540e9b632a9b5445d5b19a1b /qtsensors.pro | |
parent | 7add3acd92cef4161522f7b37f82c6e0b72d830f (diff) | |
download | qtsensors-45bd60a092b57ddf26e7e2ba716e5d71ce2a2fd5.tar.gz |
Don't install tests by default.
Installing tests is a relatively rare use case, and is already
disabled by default for some qt5 modules. Make the behavior
consistent and disable it by default here too.
Change-Id: I45ca36a1197b5ee808d832e17773059f11324371
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
Diffstat (limited to 'qtsensors.pro')
-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 |