FindCUDA: Add search path for nvcc on Arch

This commit is contained in:
Hans Gaiser 2016-08-02 11:00:43 +02:00 committed by Brad King
parent 55d9bfa9dd
commit 15a6ae5cb7
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."
)