Skip to content

Commit

Permalink
Merge pull request #143 from rafzi/patch-1
Browse files Browse the repository at this point in the history
Emscripten: do not fix exception settings to support -fwasm-exceptions
  • Loading branch information
bfierz authored Dec 12, 2024
2 parents 26523b1 + 7c0429b commit b1effe5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ if (WIN32 AND ${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
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")
endif(EMSCRIPTEN)

################################################################################
# Add the externals
################################################################################
Expand Down

0 comments on commit b1effe5

Please sign in to comment.