diff --git a/conda/recipes/libraft/build_libraft_headers.sh b/conda/recipes/libraft/build_libraft_headers.sh index 18c59276e5..beaf29b23f 100644 --- a/conda/recipes/libraft/build_libraft_headers.sh +++ b/conda/recipes/libraft/build_libraft_headers.sh @@ -2,4 +2,5 @@ # Copyright (c) 2022-2024, NVIDIA CORPORATION. ./build.sh libraft --allgpuarch --no-nvtx -n +cmake --install cpp/build --component hnswlib cmake --install cpp/build --component raft diff --git a/cpp/cmake/thirdparty/get_hnswlib.cmake b/cpp/cmake/thirdparty/get_hnswlib.cmake index 4d28e9a064..f66cd70f8c 100644 --- a/cpp/cmake/thirdparty/get_hnswlib.cmake +++ b/cpp/cmake/thirdparty/get_hnswlib.cmake @@ -47,7 +47,11 @@ function(find_and_configure_hnswlib) "$") if(NOT PKG_EXCLUDE_FROM_ALL) - install(TARGETS hnswlib EXPORT hnswlib-exports) + install( + TARGETS hnswlib + COMPONENT hnswlib + EXPORT hnswlib-exports + ) install(DIRECTORY "${hnswlib_SOURCE_DIR}/hnswlib/" DESTINATION include/hnswlib) # write install export rules