mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 23:44:35 +00:00
No mold on emscripten.
This commit is contained in:
parent
68357bd9fb
commit
5098fc2a70
@ -42,7 +42,7 @@ if(EMSCRIPTEN)
|
|||||||
add_link_options(-pthread)
|
add_link_options(-pthread)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND NOT EMSCRIPTEN)
|
||||||
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")
|
||||||
|
Loading…
Reference in New Issue
Block a user