Skip to content

Commit ec20eac

Browse files
authored
Update CMakeLists.txt
1 parent 59dc590 commit ec20eac

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

unittests/CMakeLists.txt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,8 @@ else()
3636
if(EMSCRIPTEN)
3737
target_link_libraries(${name} PRIVATE ${ARG_LIBRARIES} ${gtest_libs} clangCppInterOp)
3838
set_target_properties(${name} PROPERTIES
39-
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"
39+
LINK_FLAGS "-s SIDE_MODULE=1 -s EXPORT_ALL -s WASM_BIGINT
4040
)
41-
target_link_options(${name} PRIVATE
42-
PUBLIC "SHELL: -sERROR_ON_UNDEFINED_SYMBOLS=0"
43-
)
44-
target_link_libraries(CppInterOpTests
45-
PRIVATE
46-
clangCppInterOp
47-
)
4841
else()
4942
target_link_libraries(${name} PUBLIC ${ARG_LIBRARIES} ${gtest_libs} pthread)
5043
endif()

0 commit comments

Comments
 (0)