Skip to content

Commit

Permalink
Address web player not liking thread library
Browse files Browse the repository at this point in the history
  • Loading branch information
pbdot committed Jan 3, 2025
1 parent 70e5f3c commit 4e8f3cf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion libraries/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ add_subdirectory(miniz)
add_subdirectory(pl_mpeg)
add_subdirectory(prns)
add_subdirectory(stb)
add_subdirectory(thread)
if (NOT EMSCRIPTEN)
add_subdirectory(thread)
endif()
add_subdirectory(tracy)
add_subdirectory(tsf)
add_subdirectory(xxHash)
5 changes: 4 additions & 1 deletion source_files/edge/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,14 @@ set (EDGE_LINK_LIBRARIES
pl_mpeg
prns
stb
thread
tsf
xxhash
)

if (NOT EMSCRIPTEN)
set (EDGE_LINK_LIBRARIES ${EDGE_LINK_LIBRARIES} thread)
endif()

if (EDGE_COAL_SUPPORT)
set (EDGE_LINK_LIBRARIES ${EDGE_LINK_LIBRARIES} edge_coal)
endif()
Expand Down

0 comments on commit 4e8f3cf

Please sign in to comment.