diff options
author | Brad King <brad.king@kitware.com> | 2018-08-01 17:39:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-08-01 17:42:13 (GMT) |
commit | 37ba34c0b0270a09ca935d271f1742aea219070f (patch) | |
tree | bfc748d6357c8114725d97cdd86e56e1eb3be1d4 /Modules/FindSDL_image.cmake | |
parent | f84c15ef2fa30dd074fcccafccec6b9b69266619 (diff) | |
download | CMake-37ba34c0b0270a09ca935d271f1742aea219070f.zip CMake-37ba34c0b0270a09ca935d271f1742aea219070f.tar.gz CMake-37ba34c0b0270a09ca935d271f1742aea219070f.tar.bz2 |
FindCUDA/select_compute_arch: Restore two-component CUDA_VERSION
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
Diffstat (limited to 'Modules/FindSDL_image.cmake')
0 files changed, 0 insertions, 0 deletions