diff options
author | Raul Tambre <raul@tambre.ee> | 2020-06-18 17:03:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-06-18 19:07:31 (GMT) |
commit | d9c1f05924239fafc159ed0b24ecdc24228c8e34 (patch) | |
tree | 24ec6d3caed4ceaf64486b5cfc1ea052549ec327 /Help/guide/tutorial/Step10/MathFunctions/MathFunctions.cxx | |
parent | c26853718ec764d02e243bb6bfdabf0f9ec3157c (diff) | |
download | CMake-d9c1f05924239fafc159ed0b24ecdc24228c8e34.zip CMake-d9c1f05924239fafc159ed0b24ecdc24228c8e34.tar.gz CMake-d9c1f05924239fafc159ed0b24ecdc24228c8e34.tar.bz2 |
CUDA: Fix NVCC executable search during compiler detection
The result variable was `CUDAToolkit_NVCC_EXECUTABLE` instead of
`_CUDA_NVCC_EXECUTABLE`, which the rest of the code used. Also, we can
simply `set()` the `_CUDA_NVCC_EXECUTABLE` value without searching.
Fixes: #20847
Diffstat (limited to 'Help/guide/tutorial/Step10/MathFunctions/MathFunctions.cxx')
0 files changed, 0 insertions, 0 deletions