\r
# Find NPP library\r
find_library(CUDA_NPP_LIBRARIES\r
- NAMES npp${NPP_SUFFIX} libnpp${NPP_SUFFIX}\r
- PATHS "${CUDA_NPP_LIBRARY_ROOT_DIR}/common/lib" \r
+ NAMES "npp" "npp${NPP_SUFFIX}" "libnpp${NPP_SUFFIX}"\r
+ PATHS "${CUDA_NPP_LIBRARY_ROOT_DIR}" \r
+ PATH_SUFFIXES "common/lib" "common/npp/lib"\r
DOC "NPP library" \r
- )
+ )
\r
# Search default search paths, after we search our own set of paths.\r
find_library(CUDA_NPP_LIBRARIES NAMES npp${NPP_SUFFIX} libnpp${NPP_SUFFIX} DOC "NPP library")\r