From d6c101389190de645a3601bcf17aea97827c348b Mon Sep 17 00:00:00 2001 From: Kapil Arya Date: Sun, 17 Aug 2025 19:18:32 -0700 Subject: [PATCH] [Fix] Fixed cachelib_memory_allocator dependency (#750) --- mooncake-store/benchmarks/CMakeLists.txt | 2 +- mooncake-store/src/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mooncake-store/benchmarks/CMakeLists.txt b/mooncake-store/benchmarks/CMakeLists.txt index 0a78170c..0c581484 100644 --- a/mooncake-store/benchmarks/CMakeLists.txt +++ b/mooncake-store/benchmarks/CMakeLists.txt @@ -1,3 +1,3 @@ # Add allocator benchmark executable add_executable(allocator_bench allocator_bench.cpp) -target_link_libraries(allocator_bench PRIVATE mooncake_store) +target_link_libraries(allocator_bench PRIVATE cachelib_memory_allocator mooncake_store) diff --git a/mooncake-store/src/CMakeLists.txt b/mooncake-store/src/CMakeLists.txt index 812cc741..2e4182dc 100644 --- a/mooncake-store/src/CMakeLists.txt +++ b/mooncake-store/src/CMakeLists.txt @@ -40,7 +40,7 @@ endif() # The cache_allocator library include_directories(${Python3_INCLUDE_DIRS}) add_library(mooncake_store ${MOONCAKE_STORE_SOURCES}) -target_link_libraries(mooncake_store PUBLIC transfer_engine ${ETCD_WRAPPER_LIB} glog::glog gflags::gflags +target_link_libraries(mooncake_store PUBLIC transfer_engine cachelib_memory_allocator ${ETCD_WRAPPER_LIB} glog::glog gflags::gflags ${EXTRA_LIBS} ) if (STORE_USE_ETCD)