File tree Expand file tree Collapse file tree 3 files changed +1
-6
lines changed
unittests/CppInterOp/TestSharedLib Expand file tree Collapse file tree 3 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,7 @@ endif()
1818### build/install workaround
1919if (@BUILD_SHARED_LIBS @)
2020 if (EMSCRIPTEN)
21- set (_lib_suffix ".wasm" )
22- else ()
23- set (_lib_suffix ${CMAKE_SHARED_LIBRARY_SUFFIX} )
24- endif ()
21+ set (_lib_suffix ${CMAKE_SHARED_LIBRARY_SUFFIX} )
2522 set (_lib_prefix ${CMAKE_SHARED_LIBRARY_PREFIX} )
2623else ()
2724 set (_lib_suffix ${CMAKE_STATIC_LIBRARY_SUFFIX} )
Original file line number Diff line number Diff line change @@ -133,7 +133,6 @@ if(EMSCRIPTEN)
133133 NO_SONAME 1
134134 COMPILE_FLAGS "-s SIDE_MODULE=1"
135135 LINK_FLAGS "-s WASM_BIGINT -s SIDE_MODULE=1 ${SYMBOLS_LIST} "
136- SUFFIX ".wasm"
137136 )
138137 # When compiling Emscripten tests the shared library it links to is expected to be in the same folder as the compiled Javascript
139138 add_custom_command (TARGET clangCppInterOp POST_BUILD
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ if (EMSCRIPTEN)
1515 NO_SONAME 1
1616 COMPILE_FLAGS "-s SIDE_MODULE=1"
1717 LINK_FLAGS "-s WASM_BIGINT -s SIDE_MODULE=1"
18- SUFFIX ".wasm"
1918 )
2019endif ()
2120
You can’t perform that action at this time.
0 commit comments