Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbarton authored Jan 31, 2025
1 parent f8250bd commit a72ab9a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions unittests/CppInterOp/TestSharedLib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ set_output_directory(TestSharedLib
LIBRARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/unittests/bin/$<CONFIG>/
)

set_target_properties(TestSharedLib
PROPERTIES NO_SONAME 1
set_target_properties(TestSharedLib PROPERTIES
NO_SONAME 1
COMPILE_FLAGS "-s SIDE_MODULE=1"
LINK_FLAGS "-s WASM_BIGINT -s SIDE_MODULE=1 -Wl,--export-all"
SUFFIX ".wasm"
)

if(EMSCRIPTEN)
Expand Down

0 comments on commit a72ab9a

Please sign in to comment.