diff options
author | Brad King <brad.king@kitware.com> | 2016-08-03 13:20:32 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-08-03 13:20:32 (GMT) |
commit | 573397bb540a1b1bbe991602d58835bb1a9f61e1 (patch) | |
tree | 2cd6f4c37102f749ac208f8cc482dbc56be74b10 /Modules | |
parent | 4b0e1dc0a4ae5f4fdb680e1ec27cd1f392d64ffb (diff) | |
parent | 15a6ae5cb7d2d7b67ef5704acd01b6f6765fd5d9 (diff) | |
download | CMake-573397bb540a1b1bbe991602d58835bb1a9f61e1.zip CMake-573397bb540a1b1bbe991602d58835bb1a9f61e1.tar.gz CMake-573397bb540a1b1bbe991602d58835bb1a9f61e1.tar.bz2 |
Merge topic 'FindCUDA-arch'
15a6ae5c FindCUDA: Add search path for nvcc on Arch
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindCUDA.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindCUDA.cmake b/Modules/FindCUDA.cmake index 6d9b833..dbc56bb 100644 --- a/Modules/FindCUDA.cmake +++ b/Modules/FindCUDA.cmake @@ -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." ) |