From 6f1eb0b2bc7f52f41ac9be05f18a4ec9d28727a1 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Wed, 6 Oct 2021 10:26:13 +0200 Subject: [PATCH] Don't build tests/auto/tools when cross-compiling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There already was an attempt, but the wrong variable name was used. Pick-to: 6.2 Change-Id: I4bdd73f86ff6aa5151e4427024b83daa57b54a39 Reviewed-by: MÃ¥rten Nordheim Reviewed-by: Craig Scott --- tests/auto/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)