Skip to content

Commit cf8f52d

Browse files
committed
update rapids-cmake
1 parent 50ee5f9 commit cf8f52d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

CMakeLists.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,20 @@ if(POLICY CMP0141)
1616
set(CMAKE_POLICY_DEFAULT_CMP0141 NEW)
1717
endif()
1818

19+
if(POLICY CMP0167)
20+
# Don't try to use old FindBoost.cmake
21+
# https://cmake.org/cmake/help/latest/policy/CMP0167.html
22+
cmake_policy(SET CMP0167 NEW)
23+
set(CMAKE_POLICY_DEFAULT_CMP0167 NEW)
24+
endif()
25+
1926
##############################################################################
2027
# - Download and initialize RAPIDS CMake helpers -----------------------------
2128

2229
# Fetch rapids-cmake
30+
set(rapids-cmake-version 26.02)
2331
if(NOT EXISTS ${CMAKE_CURRENT_BINARY_DIR}/RAPIDS.cmake)
24-
file(DOWNLOAD https://raw.githubusercontent.com/rapidsai/rapids-cmake/branch-24.02/RAPIDS.cmake
32+
file(DOWNLOAD https://raw.githubusercontent.com/rapidsai/rapids-cmake/main/RAPIDS.cmake
2533
${CMAKE_CURRENT_BINARY_DIR}/RAPIDS.cmake)
2634
endif()
2735
# Initialize rapids-cmake

0 commit comments

Comments
 (0)