summarylogtreecommitdiffstats
path: root/system-lib.patch
blob: 8cf4fbf331011c95e3f27f9192bbcb49bd18b851 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- cpp/CMakeLists.txt	2025-12-11 08:51:28.000000000 +0800
+++ cpp/CMakeLists.txt.new	2025-12-24 15:34:18.535882660 +0800
@@ -184,13 +184,12 @@
 rapids_cpm_init()
 
 if(NOT BUILD_CPU_ONLY)
-  # We must find CCCL ourselves before raft so that we get the right version.
-  include(${rapids-cmake-dir}/cpm/cccl.cmake)
-  rapids_cpm_cccl()
-  include(cmake/thirdparty/get_raft.cmake)
-  include(cmake/thirdparty/get_cutlass.cmake)
-  include(${rapids-cmake-dir}/cpm/cuco.cmake)
-  rapids_cpm_cuco()
+  find_package(rapids_logger REQUIRED)
+  find_package(rmm REQUIRED)
+  find_package(nvtx3 REQUIRED)
+  include(cmake/thirdparty/get_cutlass.cmake)
+  find_package(cuco REQUIRED)
+  find_package(raft REQUIRED)
 endif()
 
 if(BUILD_TESTS OR BUILD_C_TESTS)