rapids_cuda_patch_toolkit

Added in version v22.10.00.

Corrects missing dependencies in the CUDA toolkit

rapids_cuda_patch_toolkit( )

For CMake versions 3.23.1-3, and 3.24.1 the dependencies of cublas and cusolver targets are incorrect. This module must be called from the same CMakeLists.txt as the first find_project(CUDAToolkit) to patch the targets.

Deprecated since version v24.08.00: rapids_cuda_patch_toolkit has been deprecated and will be removed in 24.10 as now the minimum CMake required to use rapids-cmake is 3.26.4.

Note

rapids_cpm_find() will automatically call this module when asked to find the CUDAToolkit.