diff --git a/CMakeLists.txt b/CMakeLists.txt index cdab1413fcc0..792c6ef40b25 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -211,6 +211,7 @@ IF(MR_EMSCRIPTEN) set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -sASYNCIFY_IGNORE_INDIRECT -sASYNCIFY_ADD=@${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/wasm_async_func_list.txt") add_compile_definitions(MR_EMSCRIPTEN_ASYNCIFY) ENDIF() # NOT MR_DISABLE_EMSCRIPTEN_ASYNCIFY + add_compile_definitions(EIGEN_STACK_ALLOCATION_LIMIT=0) ENDIF() # MR_EMSCRIPTEN IF(NOT MR_EMSCRIPTEN)