Skip to content

Commit 66ddc45

Browse files
authored
Revert suffix change
1 parent 6966733 commit 66ddc45

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

cmake/CppInterOp/CppInterOpConfig.cmake.in

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ endif()
1818
### build/install workaround
1919
if (@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})
2623
else()
2724
set(_lib_suffix ${CMAKE_STATIC_LIBRARY_SUFFIX})

lib/Interpreter/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

unittests/CppInterOp/TestSharedLib/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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
)
2019
endif()
2120

0 commit comments

Comments
 (0)