Skip to content

Commit 3990ceb

Browse files
author
Julian LALU
committed
Fix WebAssembly
1 parent d5cd6f3 commit 3990ceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ if(MSVC)
343343
target_compile_definitions(${test_project_name} PRIVATE __SSE4_2__)
344344
elseif(EMSCRIPTEN)
345345
set_target_properties(${test_project_name} PROPERTIES SUFFIX ".html")
346-
target_link_options(${test_project_name} PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:-sASSERTIONS> -sENVIRONMENT='web,node')
346+
target_link_options(${test_project_name} PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:-sASSERTIONS> -sENVIRONMENT='web,node' -sABORTING_MALLOC=0)
347347
target_compile_options( ${test_project_name} PRIVATE -msse4.2 -msimd128 -std=c++20 )
348348
else()
349349
target_compile_options( ${test_project_name} PRIVATE -msse4.2 -std=c++20)

0 commit comments

Comments
 (0)