diff options
Diffstat (limited to 'util/cmake/configurejson2cmake.py')
-rwxr-xr-x | util/cmake/configurejson2cmake.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py index 2c65703d59..f5062d4953 100755 --- a/util/cmake/configurejson2cmake.py +++ b/util/cmake/configurejson2cmake.py @@ -709,7 +709,9 @@ def parseFeature(ctx, feature, data, cm_fh): "doubleconversion": None, "enable_gdb_index": None, "enable_new_dtags": None, - "force_debug_info": None, + "force_debug_info": { + "autoDetect": "CMAKE_BUILD_TYPE STREQUAL RelWithDebInfo OR RelWithDebInfo IN_LIST CMAKE_CONFIGURATION_TYPES" + }, "framework": {"condition": "APPLE AND BUILD_SHARED_LIBS"}, "gc_binaries": None, "gcc-sysroot": None, |