commit | d9c1f05924239fafc159ed0b24ecdc24228c8e34 | [log] [tgz] |
---|---|---|
author | Raul Tambre <raul@tambre.ee> | Thu Jun 18 20:03:25 2020 +0300 |
committer | Brad King <brad.king@kitware.com> | Thu Jun 18 15:07:31 2020 -0400 |
tree | 24ec6d3caed4ceaf64486b5cfc1ea052549ec327 | |
parent | c26853718ec764d02e243bb6bfdabf0f9ec3157c [diff] |
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