HW: Fix libusb support for older libusb APIs

This commit is contained in:
Jeffrey Pfau
2016-01-03 00:53:31 -08:00
parent f0e5811d9a
commit d4e2c9fa98
2 changed files with 9 additions and 1 deletions

View File

@ -23,7 +23,7 @@ elseif (NOT LIBUSB_FOUND)
/usr/local/include
)
find_library(LIBUSB_LIBRARIES NAMES usb-1.0
find_library(LIBUSB_LIBRARIES NAMES usb-1.0 usb
PATHS
${LIBUSB_PKG_LIBRARY_DIRS}
/usr/lib