mirror of https://github.com/AxioDL/metaforce.git
CMakePresets: Only use LTO for RelWithDebInfo
This commit is contained in:
parent
8f389e246c
commit
6492ee2f87
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue