From 45bd60a092b57ddf26e7e2ba716e5d71ce2a2fd5 Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Wed, 16 Nov 2011 11:12:18 +1000 Subject: 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 Reviewed-by: Lincoln Ramsay --- qtsensors.pro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qtsensors.pro b/qtsensors.pro index f7bf2a0f..7fec9bec 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 -- cgit v1.2.3