From b3511faf4544891c0445f30354fdb2ccbf6f2fe8 Mon Sep 17 00:00:00 2001 From: Tarang Jain Date: Fri, 24 Jan 2025 04:28:46 -0800 Subject: [PATCH] conditionally link raft::raft only for faiss_gpu --- cpp/bench/ann/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/bench/ann/CMakeLists.txt b/cpp/bench/ann/CMakeLists.txt index 3614c442a..7da44cf73 100644 --- a/cpp/bench/ann/CMakeLists.txt +++ b/cpp/bench/ann/CMakeLists.txt @@ -125,7 +125,7 @@ function(ConfigureAnnBench) target_link_libraries( ${BENCH_NAME} PRIVATE ${ConfigureAnnBench_LINKS} - $<$:raft::raft> + $<$:raft::raft> nlohmann_json::nlohmann_json Threads::Threads $