aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index f3170a9d4d..e4fbb589f4 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -62,6 +62,6 @@ endif()
if(QT_FEATURE_private_tests AND QT_FEATURE_thread AND NOT ANDROID AND NOT WASM AND NOT rtems)
add_subdirectory(qmljs)
endif()
-if (QT_FEATURE_private_tests AND NOT ANDROID AND NOT WASM AND NOT rtems)
+if (QT_FEATURE_private_tests AND NOT CMAKE_CROSSCOMPILING)
add_subdirectory(qmljsrootgen)
endif()