summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorMorten Sørvig <morten.sorvig@qt.io>2024-02-26 13:59:28 +0100
committerMorten Sørvig <morten.sorvig@qt.io>2024-02-27 14:09:32 +0100
commitd795dbc64362223ce9ff22c0d56569570240d634 (patch)
tree0320d01ff47b1f1fe021fc792d38ee7d6071c42a /cmake
parent1fbcb411e12047961dac157f5fbcd327e0a47833 (diff)
wasm: don't set DISABLE_EXCEPTION_CATCHING
This is on by default anyway (see Emscripten settings.js), and setting it here interferes if exceptions are enabled by other means. Fixes: QTBUG-121822 Change-Id: I61d3f1960208e928a4144cff56a0b03c39087a34 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtWasmHelpers.cmake2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmake/QtWasmHelpers.cmake b/cmake/QtWasmHelpers.cmake
index 2b3a97987f..41ef5cb0ba 100644
--- a/cmake/QtWasmHelpers.cmake
+++ b/cmake/QtWasmHelpers.cmake
@@ -34,8 +34,6 @@ function (qt_internal_setup_wasm_target_properties wasmTarget)
if (QT_FEATURE_wasm_exceptions)
target_compile_options("${wasmTarget}" INTERFACE -fwasm-exceptions)
target_link_options("${wasmTarget}" INTERFACE -fwasm-exceptions)
- else()
- target_link_options("${wasmTarget}" INTERFACE "SHELL:-s DISABLE_EXCEPTION_CATCHING=1")
endif()
if (QT_FEATURE_thread)