From 0e5ef639b73e9de93d350a9f34178cc47bdab11f Mon Sep 17 00:00:00 2001 From: alph00 Date: Fri, 28 Jun 2024 08:40:55 +0000 Subject: [PATCH] fix --- core/unittest/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/unittest/CMakeLists.txt b/core/unittest/CMakeLists.txt index 514e216868..7fcf6a4469 100644 --- a/core/unittest/CMakeLists.txt +++ b/core/unittest/CMakeLists.txt @@ -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()