Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alph00 committed Jun 28, 2024
1 parent f0d7dad commit 0e5ef63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/unittest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ if (MSVC)
endif ()
if (LINUX AND WITHOUTSPL)
add_library(${PROJECT_NAME} SHARED ${UNIX_SOURCE_FILES})
file(GLOB BASE_SO ${CMAKE_SOURCE_DIR}/build/unittest/lib${PROJECT_NAME}.so)
file(COPY ${BASE_SO} DESTINATION ${DEPS_LIBRARY_ROOT})
else ()
add_library(${PROJECT_NAME} STATIC ${UNIX_SOURCE_FILES})
endif()
Expand Down

0 comments on commit 0e5ef63

Please sign in to comment.