summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@qt.io>2019-10-23 09:50:10 +0200
committerFrederik Gladhorn <frederik.gladhorn@qt.io>2019-10-23 08:07:18 +0000
commitccdbd32416541454cb4a6c3a417a0c6cc19d5bae (patch)
tree60bd1e8d5a61023a6911d0058381ee38332db096
parentd784864b58f795349c5bb2b857d4e72efc61dd1e (diff)
cmake scripts: handle aix-g++
Change-Id: I62b9e9fa9aae3350dc8c668a98453c2373c1a709 Reviewed-by: Leander Beernaert <leander.beernaert@qt.io> 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 24c77cb2b1..ace4f44da6 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("aix-g++*", "AIX")
condition = condition.replace("*-icc*", "ICC")
condition = condition.replace("*-clang*", "CLANG")
condition = condition.replace("*-llvm", "CLANG")