Skip to content

CUDA: Capture all nvcc output when extracting toolkit root

Brad King requested to merge brad.king/cmake:cuda-nvcc-output into master

Since !5620 (merged) and !5777 (merged) we always run the command nvcc -v __cmake_determine_cuda to look for the toolkit root in its stderr. On Windows, that command may print to stdout instead, so capture that as well.

Backport: release

Edited by Brad King

Merge request reports

Loading