Skip to content

Commit

Permalink
fix sdk shared library dependency problems of libcfs.so
Browse files Browse the repository at this point in the history
  • Loading branch information
young-scott committed Nov 16, 2023
1 parent ef4e1e7 commit ee707b6
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/Disks/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit ee707b6

Please sign in to comment.