[cmake] whole-program LTO, prefer lld on clang (#2581)

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2581
This commit is contained in:
crueter 2025-09-27 22:40:08 +02:00
parent cc50571275
commit c77ad128b9
Signed by: crueter
GPG key ID: 425ACD2D4830EBC6
4 changed files with 30 additions and 24 deletions

View file

@ -399,10 +399,6 @@ 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()
if (ANDROID AND ARCHITECTURE_arm64)
target_link_libraries(video_core PRIVATE adrenotools)
endif()