Skip to content

Commit

Permalink
use so suffix for shared objects even with wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
kallaballa committed Apr 19, 2023
1 parent def22c7 commit 7a48d81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ if (CMAKE_CXX_COMPILER MATCHES "/em\\+\\+(-[a-zA-Z0-9.])?$")
set(NANOGUI_BUILD_GLAD_DEFAULT OFF)
set(NANOGUI_BUILD_GLFW_DEFAULT OFF)

set(CMAKE_STATIC_LIBRARY_SUFFIX ".bc")
set(CMAKE_EXECUTABLE_SUFFIX ".bc")
set(CMAKE_STATIC_LIBRARY_SUFFIX ".so")
set(CMAKE_EXECUTABLE_SUFFIX ".so")
set(CMAKE_CXX_CREATE_STATIC_LIBRARY "<CMAKE_CXX_COMPILER> -o <TARGET> <LINK_FLAGS> <OBJECTS>")
if (U_CMAKE_BUILD_TYPE MATCHES REL)
add_compile_options(-O3 -DNDEBUG)
Expand Down

0 comments on commit 7a48d81

Please sign in to comment.