From ee707b6cd7fa3e1fce047028164cb36f17e5e1fe Mon Sep 17 00:00:00 2001 From: young scott Date: Thu, 16 Nov 2023 07:21:13 +0000 Subject: [PATCH] fix sdk shared library dependency problems of libcfs.so --- src/Disks/CMakeLists.txt | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/Disks/CMakeLists.txt b/src/Disks/CMakeLists.txt index 82c5611635fd..5fb20708e0da 100644 --- a/src/Disks/CMakeLists.txt +++ b/src/Disks/CMakeLists.txt @@ -2,11 +2,4 @@ if (ENABLE_EXAMPLES) add_subdirectory(examples) endif() -set(CUBEFS_DIR "${ClickHouse_SOURCE_DIR}/contrib/cubefs") - -add_library(sdk SHARED ${CUBEFS_DIR}/build/bin/libcfs.a) -install( -TARGETS sdk -EXPORT global -LIBRARY DESTINATION lib -) +install(FILES ${ClickHouse_SOURCE_DIR}/contrib/cubefs/build/bin/libcfs.so DESTINATION lib)