[cmake] fix apple, android builds #2619

Merged
crueter merged 4 commits from fix-appldfl into master 2025-09-30 02:18:32 +02:00
Showing only changes of commit a279473550 - Show all commits

View file

@ -913,8 +913,12 @@ if (YUZU_USE_FASTER_LD)
set(LINKER mold)
endif()
endif()
message(NOTICE "Selecting ${LINKER} as linker")
add_link_options("-fuse-ld=${LINKER}")
if (LINKER)
message(NOTICE "Selecting ${LINKER} as linker")
add_link_options("-fuse-ld=${LINKER}")
else()
message(WARNING "No fast linker found using default")
endif()
endif()
# Set runtime library to MD/MDd for all configurations