Commit 09f00a63 authored by Robert Maynard's avatar Robert Maynard
Browse files

FindCUDA: Search for libraries in <prefix>/lib/<arch>/nvidida-current.

Ubuntu install the CUDA libraries into a location that is different
than the default location provided by the NVidia installer. So we
teach the FindCUDA package to also find the Ubuntu install location.
parent 6aba9764
......@@ -607,7 +607,11 @@ macro(cuda_find_library_local_first_with_path_ext _var _names _doc _path_ext )
# Search default search paths, after we search our own set of paths.
find_library(${_var} NAMES ${_names} DOC ${_doc})
NAMES ${_names}
PATHS "/usr/lib/nvidia-current"
DOC ${_doc}
macro(cuda_find_library_local_first _var _names _doc)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment