diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2021-01-07 11:02:53 +0200 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2021-01-15 11:14:10 +0000 |
commit | 066945fbc4a633fec57ccf458a0534f6ea525478 (patch) | |
tree | 45ee0b19c5e90ac1136a8fa8604fcdb513b8cbbb /tools | |
parent | 90a8e0ae37d204b641e8d2ca27927ac6f2c66c86 (diff) |
CMake: add properties when tools are built
Make sure all properties are added when cross-compiling the tools.
Pick-to: 6.0
Change-Id: Ifec0d2e2a1de2c3302ccf71ba897993d57bed205
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tools')
-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() |