build: Enable link time optimization in release builds. (#6887)

This commit is contained in:
Steveice10
2023-08-26 11:15:13 -07:00
committed by GitHub
parent edf157200d
commit f2e0748a22
10 changed files with 12 additions and 8 deletions

View File

@@ -49,7 +49,6 @@ create_target_directory_groups(audio_core)
target_link_libraries(audio_core PUBLIC citra_common citra_core)
target_link_libraries(audio_core PRIVATE SoundTouch teakra)
set_target_properties(audio_core PROPERTIES INTERPROCEDURAL_OPTIMIZATION ${ENABLE_LTO})
add_definitions(-DSOUNDTOUCH_INTEGER_SAMPLES)
if(ENABLE_MF)