CMakePresets: Only use LTO for RelWithDebInfo

This commit is contained in:
Luke Street 2022-07-26 01:08:46 -04:00
parent 8f389e246c
commit 6492ee2f87
1 changed files with 8 additions and 6 deletions

View File

@ -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",