mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-03 04:03:23 +03:00
FindCUDA: Add search path for nvcc on Arch
This commit is contained in:
1 parent
55d9bfa9dd
commit
15a6ae5cb7
1 file changed
+2
-1
@@ -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."
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user