summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorMatías Locatti <42481638+goldenx86@users.noreply.github.com>2023-02-27 05:01:44 +0100
committerMatías Locatti <matias.locatti@gmail.com>2023-02-27 22:44:14 +0100
commitc38bb96a2c1e3b9e536584403e2acd9623b02b92 (patch)
tree669d22640971cde2d9142a0011e9d47bce023157 /src/video_core
parentMerge pull request #9849 from ameerj/async-astc (diff)
downloadyuzu-c38bb96a2c1e3b9e536584403e2acd9623b02b92.tar
yuzu-c38bb96a2c1e3b9e536584403e2acd9623b02b92.tar.gz
yuzu-c38bb96a2c1e3b9e536584403e2acd9623b02b92.tar.bz2
yuzu-c38bb96a2c1e3b9e536584403e2acd9623b02b92.tar.lz
yuzu-c38bb96a2c1e3b9e536584403e2acd9623b02b92.tar.xz
yuzu-c38bb96a2c1e3b9e536584403e2acd9623b02b92.tar.zst
yuzu-c38bb96a2c1e3b9e536584403e2acd9623b02b92.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt
index 4742bcbe9..e904573d7 100644
--- a/src/video_core/CMakeLists.txt
+++ b/src/video_core/CMakeLists.txt
@@ -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()