Skip to content

FindCUDAToolkit: Use CUDA compiler path even when CUDA lang not enabled

FindCUDAToolkit now always searches the compiler paths that are used to control the CUDA language. This is done to have consistent behavior no matter the order of enabling the CUDA language and calling FindCUDAToolkit.

Fixes: #25567 (closed)
Topic-rename: CUDAToolkit_search_non_activated_compiler_paths

Edited by Brad King

Merge request reports