Skip to content

Commit f3d8b34

Browse files
authored
Update CMakeLists.txt
1 parent fd05f54 commit f3d8b34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

unittests/CppInterOp/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ add_cppinterop_unittest(CppInterOpTests
1616

1717
if(EMSCRIPTEN)
1818
set_target_properties(CppInterOpTests PROPERTIES
19-
LINK_FLAGS "-s MAIN_MODULE=1 -s TOTAL_MEMORY=140MB --embed-file ${CMAKE_BINARY_DIR}/lib@/lib/libclangCppInterOp.wasm --bind --preload-file ${LLVM_DIR}/../../../bin@/bin --bind"
19+
COMPILE "-s SIDE_MODULE=1"
20+
LINK_FLAGS "-s SIDE_MODULE=1"
2021
)
2122
target_link_libraries(CppInterOpTests
2223
PRIVATE

0 commit comments

Comments
 (0)