diff options
-rw-r--r-- | tools/qml/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qml/CMakeLists.txt b/tools/qml/CMakeLists.txt index 7c545ecb75..96d030074d 100644 --- a/tools/qml/CMakeLists.txt +++ b/tools/qml/CMakeLists.txt @@ -19,7 +19,7 @@ qt_internal_add_tool(${target_name} # special case begin # Don't set properties on a host tool when cross compiling, because it # is not being built. -if(CMAKE_CROSSCOMPILING) +if(CMAKE_CROSSCOMPILING AND NOT QT_BUILD_TOOLS_WHEN_CROSSCOMPILING) return() endif() |