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