Skip to content

FindCUDAToolkit: Search all of `nvcc` implicit includes and library dirs

Improves the handling of CUDA layouts where we have multiple include and library directories listed in the output of nvcc -v.

This updates both when the CUDA language is enabled or not.

Fixes: #24915 (closed)
Topic-rename: FindCUDAToolkit-implicit-dirs

Edited by Brad King

Merge request reports