summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <[email protected]>2021-10-06 10:26:13 +0200
committerJoerg Bornemann <[email protected]>2021-10-07 08:03:40 +0200
commit6f1eb0b2bc7f52f41ac9be05f18a4ec9d28727a1 (patch)
treefe069990821d873c6486de21bc137aae8ee3a658
parentaf31b6cf05aa3a9c858f2823323bf8fe12603a72 (diff)
Don't build tests/auto/tools when cross-compiling
There already was an attempt, but the wrong variable name was used. Pick-to: 6.2 Change-Id: I4bdd73f86ff6aa5151e4427024b83daa57b54a39 Reviewed-by: MÃ¥rten Nordheim <[email protected]> Reviewed-by: Craig Scott <[email protected]>
-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 f49e30074b8..10b6e4f7b86 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)