diff --git a/CMakePresets.json b/CMakePresets.json index 931e05007..b308bd5cf 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -70,11 +70,7 @@ ], "cacheVariables": { "CMAKE_C_COMPILER": "clang", - "CMAKE_CXX_COMPILER": "clang++", - "USE_LTO": { - "type": "BOOL", - "value": true - } + "CMAKE_CXX_COMPILER": "clang++" } }, { @@ -91,7 +87,13 @@ "inherits": [ "relwithdebinfo", "linux-clang" - ] + ], + "cacheVariables": { + "USE_LTO": { + "type": "BOOL", + "value": true + } + } }, { "name": "linux-clang-debug-asan",