fix openssl

This commit is contained in:
lizzie 2026-06-09 04:26:28 +00:00
parent 0da809bd8b
commit 0e05587de3
2 changed files with 2 additions and 0 deletions

View file

@ -386,6 +386,7 @@ find_package(Threads REQUIRED)
# that we prefer the pthread flag; why is that? I don't know.
if (PLATFORM_EMSCRIPTEN)
add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:-pthread>)
add_link_options($<$<COMPILE_LANGUAGE:C,CXX>:-pthread>)
endif()
find_package(RenderDoc MODULE)

View file

@ -78,6 +78,7 @@ endif()
if (PLATFORM_EMSCRIPTEN)
target_link_options(yuzu-cmd PRIVATE
-sINITIAL_MEMORY=33554432
-sGLOBAL_BASE=16777216
-sPTHREAD_POOL_SIZE_STRICT=0
-sPTHREAD_POOL_SIZE=navigator.hardwareConcurrency)