From 81cf2c649b728d1fc36ccd0af895da4686899a84 Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Mon, 20 May 2024 10:39:43 -0400 Subject: [PATCH] Remove usage of invalid faiss target name --- cpp/cmake/thirdparty/get_faiss.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/cmake/thirdparty/get_faiss.cmake b/cpp/cmake/thirdparty/get_faiss.cmake index 11529ae317..288da763bf 100644 --- a/cpp/cmake/thirdparty/get_faiss.cmake +++ b/cpp/cmake/thirdparty/get_faiss.cmake @@ -102,7 +102,7 @@ function(find_and_configure_faiss) if(PKG_ENABLE_GPU AND PKG_BUILD_STATIC_LIBS AND CXX_AVX2_FOUND) set(RAFT_FAISS_TARGETS "$,faiss::faiss_avx2>" PARENT_SCOPE) elseif(PKG_ENABLE_GPU AND PKG_BUILD_STATIC_LIBS) - set(RAFT_FAISS_TARGETS "$,faiss::faiss_avx>" PARENT_SCOPE) + set(RAFT_FAISS_TARGETS "$,faiss::faiss>" PARENT_SCOPE) elseif(CXX_AVX2_FOUND) set(RAFT_FAISS_TARGETS faiss::faiss_avx2 PARENT_SCOPE) else()