mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Restrict using mold linker to clang.
This commit is contained in:
parent
1a971d867d
commit
813f4243db
@ -41,7 +41,9 @@ if(EMSCRIPTEN)
|
|||||||
add_link_options(-pthread)
|
add_link_options(-pthread)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||||
find_program(MOLD_LINKER mold)
|
find_program(MOLD_LINKER mold)
|
||||||
if(MOLD_LINKER)
|
if(MOLD_LINKER)
|
||||||
set(CMAKE_LINKER_TYPE "MOLD")
|
set(CMAKE_LINKER_TYPE "MOLD")
|
||||||
endif()
|
endif()
|
||||||
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user