diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index f0e9a9a54e..1d60071d7e 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -131,6 +131,7 @@ INTERFACE CUDA::cudart CUDA::cusparse rmm::rmm + cuco::cuco ) target_compile_features(raft INTERFACE cxx_std_17 $) diff --git a/cpp/cmake/thirdparty/get_cuco.cmake b/cpp/cmake/thirdparty/get_cuco.cmake index 94ce6abf7d..ac5cdc7ac9 100644 --- a/cpp/cmake/thirdparty/get_cuco.cmake +++ b/cpp/cmake/thirdparty/get_cuco.cmake @@ -16,11 +16,17 @@ function(find_and_configure_cuco VERSION) + if(TARGET cuco::cuco) + return() + endif() + rapids_cpm_find(cuco ${VERSION} GLOBAL_TARGETS cuco cuco::cuco + BUILD_EXPORT_SET raft-exports + INSTALL_EXPORT_SET raft-exports CPM_ARGS - GIT_REPOSITORY https://github.com/NVIDIA/cuCollections.git - GIT_TAG e5e2abe55152608ef449ecf162a1ef52ded19801 + GIT_REPOSITORY https://github.com/trxcllnt/cuCollections.git + GIT_TAG dev OPTIONS "BUILD_TESTS OFF" "BUILD_BENCHMARKS OFF" "BUILD_EXAMPLES OFF"