mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-11 22:58:02 -05:00
Partially apply LTO to only core and video_core projects.
This commit is contained in:
committed by
Matías Locatti
parent
26c1edf2f0
commit
c38bb96a2c
@ -861,3 +861,7 @@ endif()
|
||||
if (YUZU_USE_PRECOMPILED_HEADERS)
|
||||
target_precompile_headers(core PRIVATE precompiled_headers.h)
|
||||
endif()
|
||||
|
||||
if (YUZU_ENABLE_LTO)
|
||||
set_property(TARGET core PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE)
|
||||
endif()
|
||||
|
@ -330,3 +330,7 @@ endif()
|
||||
if (YUZU_USE_PRECOMPILED_HEADERS)
|
||||
target_precompile_headers(video_core PRIVATE precompiled_headers.h)
|
||||
endif()
|
||||
|
||||
if (YUZU_ENABLE_LTO)
|
||||
set_property(TARGET video_core PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user