WASM: fix wrong parameter passed to CMake function
The function needs TRUE/FALSE, not NO_EXCEPTIONS. Change-Id: I3e173e26fafc02996577466afd09e85351a0380f Reviewed-by: Mikołaj Boc <Mikolaj.Boc@qt.io> Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
parent
178da993a0
commit
8cae710c6c
@ -146,7 +146,7 @@ function(qt_internal_add_executable name)
|
||||
|
||||
if(WASM)
|
||||
# WASM unconditionally sets DISABLE_EXCEPTION_CATCHING=1
|
||||
qt_internal_set_exceptions_flags("${name}" NO_EXCEPTIONS)
|
||||
qt_internal_set_exceptions_flags("${name}" FALSE)
|
||||
else()
|
||||
qt_internal_set_exceptions_flags("${name}" ${arg_EXCEPTIONS})
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user