From a27947355057ec5585a370087cf154fead160b16 Mon Sep 17 00:00:00 2001 From: lizzie Date: Mon, 29 Sep 2025 20:11:52 +0000 Subject: [PATCH] fx Signed-off-by: lizzie --- CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 25e046a13b..5ed111c323 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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