Merge topic 'FindCUDA-arch'

15a6ae5c FindCUDA: Add search path for nvcc on Arch
This commit is contained in:
Brad King 2016-08-03 09:20:32 -04:00 committed by CMake Topic Stage
commit 573397bb54
1 changed files with 2 additions and 1 deletions

View File

@ -621,7 +621,8 @@ if(NOT CUDA_TOOLKIT_ROOT_DIR AND NOT CMAKE_CROSSCOMPILING)
# Now search default paths
find_path(CUDA_TOOLKIT_ROOT_DIR
NAMES nvcc nvcc.exe
PATHS /usr/local/bin
PATHS /opt/cuda/bin
/usr/local/bin
/usr/local/cuda/bin
DOC "Toolkit location."
)