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 0e5ef63 commit 128ac94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/unittest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +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})
# 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
1 change: 1 addition & 0 deletions scripts/run_core_ut.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@ search_files() {
cd ./core/build/unittest
ls
cd -
export LD_LIBRARY_PATH=$TARGET_ARTIFACT_PATH:$LD_LIBRARY_PATH
cd $TARGET_ARTIFACT_PATH
search_files .

0 comments on commit 128ac94

Please sign in to comment.