From 38b78cf668d3ec5120b79b6eabe133d5fbe69713 Mon Sep 17 00:00:00 2001 From: Rafael Stahl Date: Thu, 12 Dec 2024 11:28:54 +0100 Subject: [PATCH] Emscripten: do not fix exception settings to support -fwasm-exceptions --- CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a0ed5932..6eeeeb06 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)