build: Enable link time optimization in release builds. (#6887)
This commit is contained in:
parent
edf157200d
commit
f2e0748a22
10 changed files with 12 additions and 8 deletions
|
@ -43,7 +43,6 @@ endif()
|
|||
|
||||
create_target_directory_groups(input_common)
|
||||
target_link_libraries(input_common PUBLIC citra_core PRIVATE citra_common ${Boost_LIBRARIES})
|
||||
set_target_properties(input_common PROPERTIES INTERPROCEDURAL_OPTIMIZATION ${ENABLE_LTO})
|
||||
|
||||
if (CITRA_USE_PRECOMPILED_HEADERS)
|
||||
target_precompile_headers(input_common PRIVATE precompiled_headers.h)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue