mirror of
https://github.com/mikage-emu/mikage-dev.git
synced 2025-01-22 21:41:08 +01:00
CMake: Don't hardcode use of mold for linking
This commit is contained in:
parent
a4f6eac9a0
commit
d541fad7b7
1 changed files with 3 additions and 2 deletions
|
@ -8,8 +8,9 @@ project(mikage)
|
|||
|
||||
enable_testing()
|
||||
|
||||
if (NOT ANDROID)
|
||||
add_link_options("-fuse-ld=mold")
|
||||
set(OVERRIDE_LINKER "" CACHE STRING "Linker to use for compilation")
|
||||
if (OVERRIDE_LINKER)
|
||||
add_link_options("-fuse-ld=${OVERRIDE_LINKER}")
|
||||
endif()
|
||||
|
||||
option(USE_ASAN "Enable address sanitizer" OFF)
|
||||
|
|
Loading…
Reference in a new issue