mirror of
https://github.com/wolfpld/tracy
synced 2026-01-19 04:52:09 +00:00
Use mold linker if available.
This commit is contained in:
@@ -37,3 +37,8 @@ if(EMSCRIPTEN)
|
||||
add_compile_options(-pthread)
|
||||
add_link_options(-pthread)
|
||||
endif()
|
||||
|
||||
find_program(MOLD_LINKER mold)
|
||||
if(MOLD_LINKER)
|
||||
set(CMAKE_LINKER_TYPE "MOLD")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user