Skip to content

Commit

Permalink
Disable exceptions for Emscripten build
Browse files Browse the repository at this point in the history
  • Loading branch information
balintkissdev committed Apr 5, 2021
1 parent aa7cb35 commit 0811e19
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 @@ -65,11 +65,9 @@ if(EMSCRIPTEN)
)
target_compile_options(${PROJECT_NAME} PRIVATE
-O3
-fexceptions
"SHELL: -s USE_SDL=2"
)
target_link_options(${PROJECT_NAME} PRIVATE
"SHELL: -s DISABLE_EXCEPTION_CATCHING=0"
"SHELL: -s USE_SDL=2"
--preload-file "resources"
--shell-file "${PROJECT_SOURCE_DIR}/src/shell_minimal.html"
Expand Down

0 comments on commit 0811e19

Please sign in to comment.