Skip to content
Snippets Groups Projects
Commit 7a7793e6 authored by Brad King's avatar Brad King
Browse files

FindCUDA: Disallow with CMP0147 under Visual Studio

FindCUDA's custom commands invoke `nvcc`, which invokes `cl`.  Under VS
this is done without a `/FS` flag, so `.pdb` generation races if we
use `BuildInParallel`.  The FindCUDA module has already been removed by
policy CMP0146 after being deprecated since CMake 3.10, so it is
simplest to just disallow this combination of features.

Issue: #24576
parent d6353e74
No related branches found
No related tags found
1 merge request!8314VS: Add policy to build custom commands concurrently
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment