summaryrefslogtreecommitdiffstats
path: root/util/cmake/configurejson2cmake.py
diff options
context:
space:
mode:
Diffstat (limited to 'util/cmake/configurejson2cmake.py')
-rwxr-xr-xutil/cmake/configurejson2cmake.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py
index 90bd3e2af6..e2ab8864f0 100755
--- a/util/cmake/configurejson2cmake.py
+++ b/util/cmake/configurejson2cmake.py
@@ -819,7 +819,10 @@ def get_feature_mapping():
"alloc_malloc_h": None,
"alloc_stdlib_h": None,
"build_all": None,
- "ccache": None,
+ "ccache": {
+ "autoDetect": "1",
+ "condition": "QT_USE_CCACHE"
+ },
"compiler-flags": None,
"cross_compile": {"condition": "CMAKE_CROSSCOMPILING"},
"debug_and_release": {