This commit is contained in:
Zhao Yuhang 2023-10-02 18:14:57 +08:00
parent 79409c2731
commit 08e65125e3
1 changed files with 1 additions and 1 deletions

View File

@ -890,7 +890,7 @@ function(setup_compile_params)
endif()
if(__lto_enabled)
target_compile_options(${__target} PRIVATE
$<$<CONFIG:Release>:-funified-lto -fwhole-program-vtables> # -fsplit-lto-unit
$<$<CONFIG:Release>:-fwhole-program-vtables> # -fsplit-lto-unit -funified-lto
)
if(MSVC)
target_link_options(${__target} PRIVATE