We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43b1c6c commit 09030ecCopy full SHA for 09030ec
CMakeLists.txt
@@ -58,6 +58,10 @@ else()
58
set(static_default ON)
59
endif()
60
61
+if(EMSCRIPTEN)
62
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -sNO_DISABLE_EXCEPTION_CATCHING ")
63
+endif()
64
+
65
option(BUILD_STATIC_DEPS "Build all dependencies statically rather than trying to link to them on the system" ${static_default})
66
option(STATIC_BUNDLE "Build a single static .a containing everything (both code and dependencies)" ${static_default})
67
0 commit comments