Browse Source

Merge topic 'FindCUDAToolkit-cufftw-static' into release-3.23

3e7113e644 FindCUDAToolkit: Add missing cufftw_static target

Acked-by: Kitware Robot <[email protected]>
Merge-request: !7093
Brad King 3 years ago
parent
commit
575c87c359
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/FindCUDAToolkit.cmake

+ 1 - 1
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()