CUDA: persist CMAKE_LIBRARY_ARCHITECTURE and CUDA version
The CUDA language failed to persist CMAKE_CUDA_LIBRARY_ARCHITECTURE and CMAKE_LIBRARY_ARCHITECTURE, causing find_ calls to fail when the only enabled language was CUDA.
Edited by Robert Maynard