From b38a8e77cb3c8401b3022a68f07a4fd77b290524 Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Wed, 8 Nov 2023 10:43:28 -0500 Subject: FindCUDAToolkit: Search for cufile library name being lowercase Fixes #25398 --- Modules/FindCUDAToolkit.cmake | 8 ++++---- 1 file 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) -- cgit v0.12