mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-31 13:50:46 +01: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
|
|
@ -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…
Reference in a new issue