diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2020-01-03 21:42:16 (GMT) |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2020-01-03 21:42:16 (GMT) |
commit | e500eb80cd3fcd6f512d7d69ba7218a1b532c6fe (patch) | |
tree | cf9b3f78a939f22ee95e74a48729d633e0953012 /Modules/FindCUDAToolkit.cmake | |
parent | 23e782ce05b5996536eff4c075d4bc36a8d8ba85 (diff) | |
download | CMake-e500eb80cd3fcd6f512d7d69ba7218a1b532c6fe.zip CMake-e500eb80cd3fcd6f512d7d69ba7218a1b532c6fe.tar.gz CMake-e500eb80cd3fcd6f512d7d69ba7218a1b532c6fe.tar.bz2 |
CUDAToolkit: add_cuda_link_dependency correctly sets dependencies
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 1837694..44f4951 100644 --- a/Modules/FindCUDAToolkit.cmake +++ b/Modules/FindCUDAToolkit.cmake @@ -708,7 +708,7 @@ if(CUDAToolkit_FOUND) endfunction() function(add_cuda_link_dependency lib_name) - foreach(dependency IN LISTS ${ARGN}) + foreach(dependency IN LISTS ARGN) target_link_libraries(CUDA::${lib_name} INTERFACE CUDA::${dependency}) endforeach() endfunction() |