File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 17
17
set (CMAKE_C_COMPILER /opt/wasi-sdk/bin/clang )
18
18
set (CMAKE_CXX_COMPILER /opt/wasi-sdk/bin/clang++ )
19
19
20
- set (CMAKE_EXE_LINKER_FLAGS "-Xlinker -v -v" )
21
-
22
- add_compile_definitions (CATCH_CONFIG_NO_POSIX_SIGNALS JSON_HAS_FILESYSTEM=0 )
20
+ add_compile_definitions (CATCH_CONFIG_NO_POSIX_SIGNALS CATCH_CONFIG_DISABLE_EXCEPTIONS JSON_HAS_FILESYSTEM=0 )
23
21
24
22
include (${CMAKE_CURRENT_LIST_DIR} /cxx20.cmake )
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ def configure(self):
63
63
self .options ['mimalloc' ].override = True
64
64
65
65
# Disable Catch2 version 3.x.x signaling handling on WASM
66
- if self .settings .os == 'Emscripten ' :
66
+ if self .settings .arch == 'wasm ' :
67
67
self .options ['catch2' ].no_posix_signals = True
68
68
69
69
self .options ['boost' ].asio_no_deprecated = True
You can’t perform that action at this time.
0 commit comments