summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Maynard <rmaynard@nvidia.com>2023-11-08 15:43:28 (GMT)
committerRobert Maynard <rmaynard@nvidia.com>2023-11-08 15:43:30 (GMT)
commitb38a8e77cb3c8401b3022a68f07a4fd77b290524 (patch)
tree10ec7821b7f2192ca238d0c4b204bd44a19b4628
parent56544c1874f449d76da5da66379b5f3af966482a (diff)
downloadCMake-b38a8e77cb3c8401b3022a68f07a4fd77b290524.zip
CMake-b38a8e77cb3c8401b3022a68f07a4fd77b290524.tar.gz
CMake-b38a8e77cb3c8401b3022a68f07a4fd77b290524.tar.bz2
FindCUDAToolkit: Search for cufile library name being lowercase
Fixes #25398
-rw-r--r--Modules/FindCUDAToolkit.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/FindCUDAToolkit.cmake b/Modules/FindCUDAToolkit.cmake
index 8f0f5bf..0a22e63 100644
--- a/Modules/FindCUDAToolkit.cmake
+++ b/Modules/FindCUDAToolkit.cmake
@@ -1192,11 +1192,11 @@ if(CUDAToolkit_FOUND)
endif()
if(CUDAToolkit_VERSION VERSION_GREATER_EQUAL 11.4)
- _CUDAToolkit_find_and_add_import_lib(cuFile DEPS culibos)
- _CUDAToolkit_find_and_add_import_lib(cuFile_static DEPS culibos)
+ _CUDAToolkit_find_and_add_import_lib(cuFile ALT cufile DEPS culibos)
+ _CUDAToolkit_find_and_add_import_lib(cuFile_static ALT cufile_static DEPS culibos)
- _CUDAToolkit_find_and_add_import_lib(cuFile_rdma DEPS cuFile culibos)
- _CUDAToolkit_find_and_add_import_lib(cuFile_rdma_static DEPS cuFile_static culibos)
+ _CUDAToolkit_find_and_add_import_lib(cuFile_rdma ALT cufile_rdma DEPS cuFile culibos)
+ _CUDAToolkit_find_and_add_import_lib(cuFile_rdma_static ALT cufile_rdma_static DEPS cuFile_static culibos)
endif()
if(CUDAToolkit_VERSION VERSION_GREATER_EQUAL 11.6)