FindCUDA: Add search path for nvcc on Arch
This commit is contained in:
parent
55d9bfa9dd
commit
15a6ae5cb7
|
@ -621,7 +621,8 @@ if(NOT CUDA_TOOLKIT_ROOT_DIR AND NOT CMAKE_CROSSCOMPILING)
|
||||||
# Now search default paths
|
# Now search default paths
|
||||||
find_path(CUDA_TOOLKIT_ROOT_DIR
|
find_path(CUDA_TOOLKIT_ROOT_DIR
|
||||||
NAMES nvcc nvcc.exe
|
NAMES nvcc nvcc.exe
|
||||||
PATHS /usr/local/bin
|
PATHS /opt/cuda/bin
|
||||||
|
/usr/local/bin
|
||||||
/usr/local/cuda/bin
|
/usr/local/cuda/bin
|
||||||
DOC "Toolkit location."
|
DOC "Toolkit location."
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue