Skip to content

Commit 8bfbd7c

Browse files
authored
Update CMakeLists.txt
1 parent b713ccf commit 8bfbd7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ elseif(EMSCRIPTEN)
359359
# Uncomment to generate an JS file testable with NodeJS (HTML must be commented)
360360
set_target_properties(${test_project_name} PROPERTIES SUFFIX ".js")
361361

362-
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)
362+
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)
363363
target_compile_options( ${test_project_name} PRIVATE -msse4.2 -msimd128 -std=c++20 )
364364
else()
365365
target_compile_options( ${test_project_name} PRIVATE -msse4.2 -std=c++20)
@@ -468,4 +468,4 @@ endif()
468468
if(COVERAGE)
469469
include(../coverage.cmake)
470470
enable_coverage(${test_project_name} ${lib_name})
471-
endif()
471+
endif()

0 commit comments

Comments
 (0)