FindCUDA: Use find_program instead of find_path when searching for nvcc.

Before this commit, nvcc would not be found if it is in env PATH but a non-standard location. This commit fixes this issue.

Topic-rename: FindCUDA-find-nvcc

Edited by Brad King

Merge request reports

Loading