Skip to content

Commit 631ab7c

Browse files
author
Julian LALU
committed
Fix WASM compilation
1 parent 8c75f8a commit 631ab7c

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
@@ -36,7 +36,7 @@ elseif(EMSCRIPTEN)
3636
# Uncomment to generate an JS file testable with NodeJS (HTML must be commented)
3737
set_target_properties(${test_project_name} PROPERTIES SUFFIX ".js")
3838
target_link_options(${test_project_name} PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:-sASSERTIONS> "-sENVIRONMENT=[\"web\",\"node\"]" -sABORTING_MALLOC=0 -sALLOW_MEMORY_GROWTH=1 -sINITIAL_MEMORY=134217728)
39-
target_compile_options( ${test_project_name} PRIVATE -finput-charset=UTF-8 -fexec-charset=UTF-8 -msse4.2 -msimd128 -fconstexpr-ops-limit=2147483647 -fconstexpr-steps=2147483647)
39+
target_compile_options( ${test_project_name} PRIVATE -finput-charset=UTF-8 -fexec-charset=UTF-8 -msse4.2 -msimd128 -fconstexpr-steps=2147483647 -fconstexpr-depth=2147483647)
4040
else()
4141
# GCC
4242
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")

0 commit comments

Comments
 (0)