diff options
author | Leander Beernaert <leander.beernaert@qt.io> | 2020-01-13 10:22:30 +0100 |
---|---|---|
committer | Leander Beernaert <leander.beernaert@qt.io> | 2020-01-13 09:33:23 +0000 |
commit | 30af71d7eb6651e25355441261553c24fbd06927 (patch) | |
tree | faf73d8250ebbf593e47a2728374c9dea08e23a9 /util | |
parent | a8929ac1fe498afcbaa9e7c5f34596aa9fdd73c4 (diff) |
Fix CMAKE_CROSSCOMPILING property name conversion
Change-Id: I481043166ce3b0b70834bf63f2a70e84203304e9
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'util')
-rwxr-xr-x | util/cmake/pro2cmake.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index f4c9aef9ac..8378cd6228 100755 --- a/util/cmake/pro2cmake.py +++ b/util/cmake/pro2cmake.py @@ -1525,7 +1525,7 @@ def map_condition(condition: str) -> str: ) condition = re.sub(r"styles___contains___fusion", r"QT_FEATURE_style_fusion", condition) - condition = condition.replace("cross_compile", "CMAKE_CROSS_COMPILING") + condition = condition.replace("cross_compile", "CMAKE_CROSSCOMPILING") cmake_condition = "" for part in condition.split(): |