From 24ee55a01f4fa3b7b967b5d8722d0179d3190c4f Mon Sep 17 00:00:00 2001 From: HoofedEar <1261392+HoofedEar@users.noreply.github.com> Date: Wed, 3 Dec 2025 19:36:16 -0800 Subject: [PATCH] add noexit to emscripten --- CMake/platforms/emscripten.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMake/platforms/emscripten.cmake b/CMake/platforms/emscripten.cmake index c5737c081..104773270 100644 --- a/CMake/platforms/emscripten.cmake +++ b/CMake/platforms/emscripten.cmake @@ -4,7 +4,7 @@ set(DISABLE_ZERO_TIER ON) set(DEVILUTIONX_SYSTEM_SDL_AUDIOLIB OFF) set(DEVILUTIONX_SYSTEM_LIBSODIUM OFF) set(DEVILUTIONX_SYSTEM_LIBFMT OFF) - +set(NOEXIT ON) # Emscripten ports do have a bzip2 but it fails to link with this error: # warning: _BZ2_bzDecompress may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library # error: undefined symbol: BZ2_bzDecompressEnd (referenced by top-level compiled C/C++ code)