Add NO_EXCEPTIONS on WASM unconditionally
DISABLE_EXCEPTION_CATCHING is added unconditionally on WASM. Add NO_EXCEPTIONS for all WASM tests since those are never supported. Change-Id: I2ee10779e7ae0d285494ad650be52dee3099915a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
d2544b3bb2
commit
aeb33b7d61
@ -217,7 +217,7 @@ function(qt_internal_prepare_test_target_flags version_arg exceptions_text gui_t
|
||||
# Qt modules get compiled without exceptions enabled by default.
|
||||
# However, testcases should be still built with exceptions.
|
||||
set(${exceptions_text} "EXCEPTIONS" PARENT_SCOPE)
|
||||
if (${arg_NO_EXCEPTIONS})
|
||||
if (${arg_NO_EXCEPTIONS} OR WASM)
|
||||
set(${exceptions_text} "" PARENT_SCOPE)
|
||||
endif()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user