summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorLeander Beernaert <leander.beernaert@qt.io>2019-12-10 13:16:02 +0100
committerLeander Beernaert <leander.beernaert@qt.io>2019-12-10 12:37:22 +0000
commite0205f1793315cfece4fa61200048ea2eda4aa13 (patch)
tree8bef0b0f8d18a4f41b497b5ee41a01f4e61a9ae2 /util
parentea9c2e558c202069b1358f5801808d0adb29dbc7 (diff)
Add special condition replacement for libclang in qttools
Change-Id: Icf35a2e39307e6239d8704824105bdc6b9081ffd Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'util')
-rwxr-xr-xutil/cmake/configurejson2cmake.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py
index f986b65acb..9f93ecafa6 100755
--- a/util/cmake/configurejson2cmake.py
+++ b/util/cmake/configurejson2cmake.py
@@ -317,6 +317,9 @@ def map_condition(condition):
condition = re.sub("\\s+", " ", mapped_condition)
condition = condition.strip()
+ # Special case for WrapLibClang in qttools
+ condition = condition.replace("TEST_libclang.has_clangcpp", "TEST_libclang")
+
if has_failed:
condition += " OR FIXME"