summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
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 /CMakeLists.txt
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 '')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 10a3de9e2..274eebe8a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -56,6 +56,8 @@ option(YUZU_USE_BUNDLED_VCPKG "Use vcpkg for yuzu dependencies" "${MSVC}")
56 56
57option(YUZU_CHECK_SUBMODULES "Check if submodules are present" ON) 57option(YUZU_CHECK_SUBMODULES "Check if submodules are present" ON)
58 58
59option(YUZU_ENABLE_LTO "Enable link-time optimization" OFF)
60
59CMAKE_DEPENDENT_OPTION(YUZU_USE_FASTER_LD "Check if a faster linker is available" ON "NOT WIN32" OFF) 61CMAKE_DEPENDENT_OPTION(YUZU_USE_FASTER_LD "Check if a faster linker is available" ON "NOT WIN32" OFF)
60 62
61if (YUZU_USE_BUNDLED_VCPKG) 63if (YUZU_USE_BUNDLED_VCPKG)