[Fix] Fixed cachelib_memory_allocator dependency (#750)

This commit is contained in:
Kapil Arya 2025-08-17 19:18:32 -07:00 committed by GitHub
parent 1a7624f4c8
commit d6c1013891
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)