mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
CUDA: Fail fast if CMAKE_CUDA_ARCHITECTURES doesn't work during detection
Also re-ordered the code to avoid testing flags for other compilers, since we know the vendor before full detection.
This commit is contained in:
@@ -2,4 +2,5 @@ cuda-fail-fast
|
||||
--------------
|
||||
|
||||
* If ``CUDA`` compiler detection fails with user-specified
|
||||
:variable:`CMAKE_CUDA_ARCHITECTURES` an error is raised.
|
||||
:variable:`CMAKE_CUDA_ARCHITECTURES` or :variable:`CMAKE_CUDA_HOST_COMPILER`
|
||||
an error is raised.
|
||||
|
||||
Reference in New Issue
Block a user