select_compute_arch.cmake overrides CUDA_VERSION
According to FindCuda documentation,
CUDA_VERSION should be
CUDA_VERSION_MAJOR.CUDA_VERSION_MINOR. However, when using
select_compute_arch.cmake script, in some cases
CUDA_VERSION gets overridden (line # 22) with the CUDA compiler version which is
Could you make the value of
CUDA_VERSION consistent with only the major and minor version numbers as stated in the docs?