• Brad King's avatar
    FindCUDA/select_compute_arch: Restore two-component CUDA_VERSION · 37ba34c0
    Brad King authored
    Since commit v3.12.0-rc1~332^2 (FindCUDA/select_compute_arch: Add
    support for CUDA as a language, 2018-03-15) this module sets
    `CUDA_VERSION` based on `CMAKE_CUDA_COMPILER_VERSION` when the language
    is enabled.  Limit it to two components for consistency with the
    normal `FindCUDA` documentation and behavior.
    
    Fixes: #18231
    37ba34c0
select_compute_arch.cmake 9.47 KB