Partially apply LTO to only core and video_core projects.

This commit is contained in:
Matías Locatti 2023-02-27 01:01:44 -03:00 committed by Matías Locatti
parent b385fc2cd1
commit 7cc539e8b8
4 changed files with 11 additions and 1 deletions

View file

@ -56,6 +56,8 @@ option(YUZU_USE_BUNDLED_VCPKG "Use vcpkg for yuzu dependencies" "${MSVC}")
option(YUZU_CHECK_SUBMODULES "Check if submodules are present" ON)
option(YUZU_ENABLE_LTO "Enable link-time optimization" OFF)
CMAKE_DEPENDENT_OPTION(YUZU_USE_FASTER_LD "Check if a faster linker is available" ON "NOT WIN32" OFF)
if (YUZU_USE_BUNDLED_VCPKG)