Skip to content

Commit 5d17e25

Browse files
add missed library for compression (#116)
1 parent c01b749 commit 5d17e25

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

eloq_data_store_service/build_eloq_store.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ endif()
2525

2626
find_package(jsoncpp REQUIRED)
2727
find_package(CURL REQUIRED)
28+
find_library(ZSTD_LIBRARY zstd)
2829

2930
find_path(URING_INCLUDE_PATH NAMES liburing.h)
3031
find_library(URING_LIB NAMES uring)
@@ -99,9 +100,10 @@ set(ELOQ_STORE_SOURCES
99100
${ELOQ_STORE_SOURCE_DIR}/object_store.cpp
100101
${ELOQ_STORE_SOURCE_DIR}/types.cpp
101102
${ELOQ_STORE_SOURCE_DIR}/kv_options.cpp
103+
${ELOQ_STORE_SOURCE_DIR}/compression.cpp
102104
${ELOQ_STORE_SOURCE_DIR}/eloqstore_module.cpp)
103105

104106
add_library(eloqstore STATIC ${ELOQ_STORE_SOURCES} ${INI_SOURCES})
105107

106108
target_include_directories(eloqstore PUBLIC ${ELOQ_STORE_INCLUDE})
107-
target_link_libraries(eloqstore PRIVATE ${URING_LIB} Boost::context glog::glog absl::flat_hash_map jsoncpp_lib ${CURL_LIBRARIES})
109+
target_link_libraries(eloqstore PRIVATE ${URING_LIB} Boost::context glog::glog absl::flat_hash_map jsoncpp_lib ${CURL_LIBRARIES} ${ZSTD_LIBRARY})

0 commit comments

Comments
 (0)