CMake 3.28.0-RC3 CUDA arch parsing regression when using Visual Studio Generator
I am seeing a regression in CUDA language support when using the Visual Studio Generator.
Machine information:
CUDA 12.2
Visual Studio 2019 or 2022
Reproducer is:
```
cmake_minimum_required(VERSION 3.26)
project(Reproducer LANGUAGES CUDA)
```
Error is:
```
-- The CUDA compiler identification is NVIDIA 12.2.140
CMake Error at C:/Work/cmake/src/Modules/CMakeDetermineCUDACompiler.cmake:289 (message):
Failed to detect a default CUDA architecture.
```
This regression doesn't occur when using non Visual Studio Generators.
More details logs:
- [CMakeConfigureLog.yaml](/uploads/146d0ab24f0d861e5646f23c459e7e89/CMakeConfigureLog.yaml)
- [cmake trace output](/uploads/02625f3f27f75b18604dede0eac75a7b/trace.log)
- [cmake expanded-trace output](/uploads/7f747d82cda6bb10508a07896c7d1a7d/expanded-trace.log)
issue