diff options
author | Rodolfo Lima <rlima@nvidia.com> | 2020-01-28 15:15:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-01-28 19:21:24 (GMT) |
commit | 916d54dfb38aaa25c731b795236c9a4f146eb68c (patch) | |
tree | e24751f48f4f7d4a3493bff2481fec1268fe3472 /Help/envvar/CUDACXX.rst | |
parent | b452e2bd6a95c211a836ca6ff0265547cec28ebd (diff) | |
download | CMake-916d54dfb38aaa25c731b795236c9a4f146eb68c.zip CMake-916d54dfb38aaa25c731b795236c9a4f146eb68c.tar.gz CMake-916d54dfb38aaa25c731b795236c9a4f146eb68c.tar.bz2 |
FindCUDAToolkit: Fix behavior on multiple calls
Update `_CUDAToolkit_find_and_add_import_lib` to create and add
dependencies to a target in one step that shared a single guard against
repeated definitions. Otherwise we were adding dependencies again on
every call.
Fixes: #20282
Diffstat (limited to 'Help/envvar/CUDACXX.rst')
0 files changed, 0 insertions, 0 deletions