Skip to content

Commit

Permalink
use clickhouse internal zstd
Browse files Browse the repository at this point in the history
  • Loading branch information
akvlad committed Dec 31, 2024
1 parent 0e6f6e9 commit 95d47da
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions chsql/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ add_subdirectory(

# Find OpenSSL package
find_package(OpenSSL REQUIRED)
find_package(Zstd REQUIRED)

set(EXTENSION_NAME ${TARGET_NAME}_extension)
set(LOADABLE_EXTENSION_NAME ${TARGET_NAME}_loadable_extension)
Expand All @@ -46,8 +45,8 @@ build_static_extension(${TARGET_NAME} ${EXTENSION_SOURCES})
build_loadable_extension(${TARGET_NAME} " " ${EXTENSION_SOURCES})

# Link libraries using plain signature
target_link_libraries(${EXTENSION_NAME} OpenSSL::SSL OpenSSL::Crypto Zstd::Zstd clickhouse-cpp-lib)
target_link_libraries(${LOADABLE_EXTENSION_NAME} OpenSSL::SSL OpenSSL::Crypto Zstd::Zstd clickhouse-cpp-lib)
target_link_libraries(${EXTENSION_NAME} OpenSSL::SSL OpenSSL::Crypto clickhouse-cpp)
target_link_libraries(${LOADABLE_EXTENSION_NAME} OpenSSL::SSL OpenSSL::Crypto clickhouse-cpp)

# Install targets
install(
Expand Down

0 comments on commit 95d47da

Please sign in to comment.