Skip to content

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

Hong Xu requested to merge xuhdev/cmake:cuda-toolkit-dir into master

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