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 <marten.nordheim@qt.io>
Reviewed-by: Craig Scott <craig.scott@qt.io>
This commit is contained in:
Joerg Bornemann 2021-10-06 10:26:13 +02:00
parent af31b6cf05
commit 6f1eb0b2bc

View File

@ -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)