mirror of
https://github.com/wolfpld/tracy.git
synced 2026-09-12 13:28:15 +00:00
Add -pthread to emscripten compile and link commands.
This commit is contained in:
@@ -28,3 +28,8 @@ endif()
|
||||
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug" AND NOT EMSCRIPTEN)
|
||||
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON)
|
||||
endif()
|
||||
|
||||
if(EMSCRIPTEN)
|
||||
add_compile_options(-pthread)
|
||||
add_link_options(-pthread)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user