summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Maynard <rmaynard@nvidia.com>2022-03-21 13:40:13 (GMT)
committerRobert Maynard <rmaynard@nvidia.com>2022-03-21 13:40:17 (GMT)
commit3e7113e64494e6c0591c027bddccfb45f8c6c761 (patch)
treec7eb2d37e6f166a0c3cc245f13c522090c6223ed
parent66ba460810afdc0e0f65c20b1bc057a204acc82c (diff)
downloadCMake-3e7113e64494e6c0591c027bddccfb45f8c6c761.zip
CMake-3e7113e64494e6c0591c027bddccfb45f8c6c761.tar.gz
CMake-3e7113e64494e6c0591c027bddccfb45f8c6c761.tar.bz2
FindCUDAToolkit: Add missing cufftw_static target
Fixes #23347
-rw-r--r--Modules/FindCUDAToolkit.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindCUDAToolkit.cmake b/Modules/FindCUDAToolkit.cmake
index 7ecc9d4..afdd4c4 100644
--- a/Modules/FindCUDAToolkit.cmake
+++ b/Modules/FindCUDAToolkit.cmake
@@ -938,7 +938,7 @@ if(CUDAToolkit_FOUND)
# cuFFTW depends on cuFFT
_CUDAToolkit_find_and_add_import_lib(cufftw DEPS cufft)
- _CUDAToolkit_find_and_add_import_lib(cufftw DEPS cufft_static)
+ _CUDAToolkit_find_and_add_import_lib(cufftw_static DEPS cufft_static)
if(CUDAToolkit_VERSION VERSION_GREATER_EQUAL 9.2)
_CUDAToolkit_find_and_add_import_lib(cufft_static_nocallback DEPS culibos)
endif()