FindCUDA: Add search path for nvcc on Arch

This commit is contained in:
Hans Gaiser authored and Brad King committed 2016-08-02 15:36:07 -04:00
1 parent 55d9bfa9dd
commit 15a6ae5cb7
1 file changed
+2 -1
+2 -1
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."
)