FindCUDA: Cache CUDA_TOOLKIT_ROOT_DIR when cross-compiling
Previously we cached CUDA_TOOLKIT_ROOT_DIR
when building for the host,
but not when cross-compiling. Make it consistent.
Topic-rename: FindCUDA-cross-compiling
Edited by Brad King
Previously we cached CUDA_TOOLKIT_ROOT_DIR
when building for the host,
but not when cross-compiling. Make it consistent.
Topic-rename: FindCUDA-cross-compiling