summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Matías Locatti2023-02-27 01:01:44 -0300
committerGravatar Matías Locatti2023-02-27 18:44:14 -0300
commitc38bb96a2c1e3b9e536584403e2acd9623b02b92 (patch)
tree669d22640971cde2d9142a0011e9d47bce023157 /src/core
parentMerge pull request #9849 from ameerj/async-astc (diff)
downloadyuzu-c38bb96a2c1e3b9e536584403e2acd9623b02b92.tar.gz
yuzu-c38bb96a2c1e3b9e536584403e2acd9623b02b92.tar.xz
yuzu-c38bb96a2c1e3b9e536584403e2acd9623b02b92.zip
Partially apply LTO to only core and video_core projects.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index ff5502d87..70fa1edf5 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -861,3 +861,7 @@ endif()
861if (YUZU_USE_PRECOMPILED_HEADERS) 861if (YUZU_USE_PRECOMPILED_HEADERS)
862 target_precompile_headers(core PRIVATE precompiled_headers.h) 862 target_precompile_headers(core PRIVATE precompiled_headers.h)
863endif() 863endif()
864
865if (YUZU_ENABLE_LTO)
866 set_property(TARGET core PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE)
867endif()