diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ba819218..eb3f601fd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,13 +15,10 @@ #============================================================================= cmake_minimum_required(VERSION 3.18 FATAL_ERROR) -include(FetchContent) -FetchContent_Declare( - rapids-cmake - GIT_REPOSITORY https://github.com/rapidsai/rapids-cmake.git - GIT_TAG branch-21.08 -) -FetchContent_MakeAvailable(rapids-cmake) +file(DOWNLOAD https://raw.githubusercontent.com/rapidsai/rapids-cmake/branch-21.12/RAPIDS.cmake + ${CMAKE_BINARY_DIR}/RAPIDS.cmake) +include(${CMAKE_BINARY_DIR}/RAPIDS.cmake) + include(rapids-cmake) include(rapids-cpm) include(rapids-cuda)