diff --git a/CMakeLists.txt b/CMakeLists.txt index 7dc2af0af..31ba6a2d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -125,7 +125,7 @@ if(EMSCRIPTEN) add_link_options(-sMALLOC=mimalloc) # The default stack size apparently causes problem when parallelization is # enabled. - add_link_options(-sSTACK_SIZE=10MB) + add_link_options(-sSTACK_SIZE=20MB) endif() if(MANIFOLD_DEBUG) list(APPEND MANIFOLD_FLAGS -fexceptions)