summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeander Beernaert <leander.beernaert@qt.io>2019-10-28 11:33:44 +0100
committerLeander Beernaert <leander.beernaert@qt.io>2019-10-28 10:40:46 +0000
commit4046b970e73a08be30e0c44dbb99fc06603ceec2 (patch)
tree84f202f74d668be5f34bab5fe101e5e0dbe7035b
parent69fb4ae343777af9078e5128ec41cfb3cea2cd76 (diff)
Add replacement for '*g++*' to pro2cmake.py
Change-Id: I3dc04a6169a98b7ff22392b979e743c41d6e0475 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-rwxr-xr-xutil/cmake/pro2cmake.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py
index 100e81e2c5..6058c15106 100755
--- a/util/cmake/pro2cmake.py
+++ b/util/cmake/pro2cmake.py
@@ -1243,6 +1243,7 @@ def map_condition(condition: str) -> str:
# checking mkspec, predating gcc scope in qmake, will then be replaced by platform_mapping in helper.py
condition = condition.replace("*-g++*", "GCC")
+ condition = condition.replace("*g++*", "GCC")
condition = condition.replace("aix-g++*", "AIX")
condition = condition.replace("*-icc*", "ICC")
condition = condition.replace("*-clang*", "CLANG")