diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index dc70faf113..109177ef1f 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -28,6 +28,9 @@ rapids_cuda_init_architectures(CUML) project(CUML VERSION 22.08.00 LANGUAGES CXX CUDA) +include(${rapids-cmake-dir}/cpm/package_override.cmake) +rapids_cpm_package_override(${CMAKE_CURRENT_SOURCE_DIR}/versions.json) + # Needed because GoogleBenchmark changes the state of FindThreads.cmake, causing subsequent runs to # have different values for the `Threads::Threads` target. Setting this flag ensures # `Threads::Threads` is the same value in first run and subsequent runs. diff --git a/cpp/versions.json b/cpp/versions.json new file mode 100644 index 0000000000..10dc0afe1b --- /dev/null +++ b/cpp/versions.json @@ -0,0 +1,10 @@ + +{ + "packages" : { + "Thrust" : { + "version" : "1.17.0.0-rc2", + "git_url" : "https://github.com/NVIDIA/thrust.git", + "git_tag" : "1.17.0-rc2" + } + } +}