Skip to content

Commit

Permalink
Emscripten: do not fix exception settings to support -fwasm-exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
rafzi authored Dec 12, 2024
1 parent 776bcf2 commit 38b78cf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ endif()

# Global configurations for emscripten
if (EMSCRIPTEN)
# Make sure exception can be used
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s DISABLE_EXCEPTION_CATCHING=0")
add_definitions(-DEIGEN_DONT_VECTORIZE)
endif(EMSCRIPTEN)

Expand Down

0 comments on commit 38b78cf

Please sign in to comment.