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:
parent
af31b6cf05
commit
6f1eb0b2bc
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user