diff options
author | Hans Gaiser <j.c.gaiser@delftrobotics.com> | 2016-08-02 09:00:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-08-02 19:36:07 (GMT) |
commit | 15a6ae5cb7d2d7b67ef5704acd01b6f6765fd5d9 (patch) | |
tree | caa4964f2d22209bc1b9d73d0048cc1ced36b4b6 /Modules | |
parent | 55d9bfa9dd42912432eea3297507187084a7d154 (diff) | |
download | CMake-15a6ae5cb7d2d7b67ef5704acd01b6f6765fd5d9.zip CMake-15a6ae5cb7d2d7b67ef5704acd01b6f6765fd5d9.tar.gz CMake-15a6ae5cb7d2d7b67ef5704acd01b6f6765fd5d9.tar.bz2 |
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." ) |