summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-10-06 10:26:13 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-10-07 08:31:32 +0000
commit33f672a881985df66902a332969561fa56523696 (patch)
tree0667fdfabcd22f2421ac0f15bd7f76b6812a98e6 /tests
parentd7bb104e5520d4b3c02eb26789b804502c567a78 (diff)
Don't build tests/auto/tools when cross-compiling
There already was an attempt, but the wrong variable name was used. Change-Id: I4bdd73f86ff6aa5151e4427024b83daa57b54a39 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Craig Scott <craig.scott@qt.io> (cherry picked from commit 6f1eb0b2bc7f52f41ac9be05f18a4ec9d28727a1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt
index f49e30074b..10b6e4f7b8 100644
--- a/tests/auto/CMakeLists.txt
+++ b/tests/auto/CMakeLists.txt
@@ -23,7 +23,7 @@ if(UIKIT)
endif()
add_subdirectory(testlib)
-if (NOT CMAKE_CROSSCOMPILE AND QT_FEATURE_process)
+if(NOT CMAKE_CROSSCOMPILING AND QT_FEATURE_process)
add_subdirectory(tools)
endif()
add_subdirectory(corelib)