summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/cmake/configurejson2cmake.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py
index fe2bf50eaa..eb3fd606fe 100755
--- a/util/cmake/configurejson2cmake.py
+++ b/util/cmake/configurejson2cmake.py
@@ -117,7 +117,7 @@ def map_tests(test: str) -> str:
'c99': '$<COMPILE_FEATURES:c_std_99>',
'c11': '$<COMPILE_FEATURES:c_std_11>',
- 'x86SimdAlways': 'ON', # FIXME: Is this the right thing?
+ 'x86SimdAlways': 'ON', # FIXME: Make this actually do a compile test.
'aesni': 'TEST_subarch_aes',
'avx': 'TEST_subarch_avx',
@@ -333,7 +333,8 @@ def map_condition(condition):
substitution = 'QT_FEATURE_{}'.format(featureName(match.group(2)))
elif match.group(1) == 'subarch':
- substitution = 'TEST_subarch_{}'.format(match.group(2))
+ substitution = 'TEST_arch_{}_subarch_{}'.format("${TEST_architecture_arch}",
+ match.group(2))
elif match.group(1) == 'call':
if match.group(2) == 'crossCompile':