Merge topic 'FindCuda_more_search_paths'

09f00a6 FindCUDA: Search for libraries in <prefix>/lib/<arch>/nvidida-current.
This commit is contained in:
Brad King 2013-07-24 11:02:37 -04:00 committed by CMake Topic Stage
commit fdbf952684
1 changed files with 5 additions and 1 deletions

View File

@ -607,7 +607,11 @@ macro(cuda_find_library_local_first_with_path_ext _var _names _doc _path_ext )
NO_DEFAULT_PATH NO_DEFAULT_PATH
) )
# Search default search paths, after we search our own set of paths. # Search default search paths, after we search our own set of paths.
find_library(${_var} NAMES ${_names} DOC ${_doc}) find_library(${_var}
NAMES ${_names}
PATHS "/usr/lib/nvidia-current"
DOC ${_doc}
)
endmacro() endmacro()
macro(cuda_find_library_local_first _var _names _doc) macro(cuda_find_library_local_first _var _names _doc)