[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
4 changed files with 30 additions and 24 deletions
-4
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()