diff options
author | Brad King <brad.king@kitware.com> | 2023-04-06 13:05:02 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-04-06 13:05:49 (GMT) |
commit | 038cd7f6206eaeb618777ac375f035006e251c86 (patch) | |
tree | a99611c615f69608858cd6a9dcb12bddd0962e89 /Modules/FindCUDAToolkit.cmake | |
parent | 22d5d08a3f8309dae41b0bdd1334ac2f9a69b3ec (diff) | |
parent | 8711231739fa738a9ece02cb15b037b72b429fc0 (diff) | |
download | CMake-038cd7f6206eaeb618777ac375f035006e251c86.zip CMake-038cd7f6206eaeb618777ac375f035006e251c86.tar.gz CMake-038cd7f6206eaeb618777ac375f035006e251c86.tar.bz2 |
Merge topic 'FindCUDAToolkit-nvptxcompiler_static-deps' into release-3.26
8711231739 FindCUDAToolkit: nvptxcompiler_static correctly specify dependencies
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8395
Diffstat (limited to 'Modules/FindCUDAToolkit.cmake')
-rw-r--r-- | Modules/FindCUDAToolkit.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindCUDAToolkit.cmake b/Modules/FindCUDAToolkit.cmake index c8e6772..fcafe65 100644 --- a/Modules/FindCUDAToolkit.cmake +++ b/Modules/FindCUDAToolkit.cmake @@ -1117,7 +1117,7 @@ if(CUDAToolkit_FOUND) if(NOT TARGET CUDA::nvptxcompiler_static) _CUDAToolkit_find_and_add_import_lib(nvptxcompiler_static DEPS cuda_driver) if(TARGET CUDA::nvptxcompiler_static) - target_link_libraries(CUDA::nvptxcompiler_static INTERFACE Threads::Threads) + target_link_libraries(CUDA::nvptxcompiler_static INTERFACE CUDA::cudart_static_deps) endif() endif() endif() |