mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +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()
|
||||||
|
|
||||||
find_program(MOLD_LINKER mold)
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||||
if(MOLD_LINKER)
|
find_program(MOLD_LINKER mold)
|
||||||
set(CMAKE_LINKER_TYPE "MOLD")
|
if(MOLD_LINKER)
|
||||||
|
set(CMAKE_LINKER_TYPE "MOLD")
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user