Skip to content

Commit

Permalink
ensure hnswlib can be found from RAFT's build dir
Browse files Browse the repository at this point in the history
  • Loading branch information
trxcllnt committed Feb 1, 2024
1 parent 4f8af07 commit 654f28c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cpp/cmake/thirdparty/get_hnswlib.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ function(find_and_configure_hnswlib)
GLOBAL_TARGETS hnswlib
NAMESPACE hnswlib::)
endif()
include("${rapids-cmake-dir}/export/find_package_root.cmake")
rapids_export_find_package_root(
BUILD hnswlib [=[${CMAKE_CURRENT_LIST_DIR}]=] EXPORT_SET raft-exports
)
endif()
endfunction()

Expand Down

0 comments on commit 654f28c

Please sign in to comment.