2
0
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:
Bartosz Taudul
2024-03-23 02:08:00 +01:00
parent 8a411a72b8
commit e38d9fa7ce

View File

@@ -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()