Skip to content

Commit

Permalink
conditionally link raft::raft only for faiss_gpu
Browse files Browse the repository at this point in the history
  • Loading branch information
tarang-jain committed Jan 24, 2025
1 parent ddd711a commit b3511fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/bench/ann/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function(ConfigureAnnBench)
target_link_libraries(
${BENCH_NAME}
PRIVATE ${ConfigureAnnBench_LINKS}
$<$<BOOL:${GPU_BUILD}>:raft::raft>
$<$<BOOL:${CUVS_FAISS_ENABLE_GPU}>:raft::raft>
nlohmann_json::nlohmann_json
Threads::Threads
$<TARGET_NAME_IF_EXISTS:raft::raft_logger>
Expand Down

0 comments on commit b3511fa

Please sign in to comment.