mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
cmake: Enable LTO for rpcs3_emu target
- Provides a small speedup and saves some space in the binary.
This commit is contained in:
parent
7fcd747819
commit
a9b0f76698
1 changed files with 2 additions and 0 deletions
|
@ -114,6 +114,8 @@ target_link_libraries(rpcs3
|
|||
3rdparty::fusion
|
||||
${ADDITIONAL_LIBS})
|
||||
|
||||
set_target_properties(rpcs3_emu PROPERTIES INTERPROCEDURAL_OPTIMIZATION TRUE)
|
||||
|
||||
# Unix display manager
|
||||
if(X11_FOUND)
|
||||
target_link_libraries(rpcs3 PRIVATE X11::X11)
|
||||
|
|
Loading…
Add table
Reference in a new issue