summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorA. Maitland Bottoms <bottoms@debian.org>2014-08-26 14:03:07 -0400
committerJohnathan Corgan <johnathan@corganlabs.com>2014-08-29 14:39:18 -0700
commitcbb0698b138423b6ed046c2dffff3400d9544cad (patch)
treeae077ade67a7fed3b5530add591c143db6628e15 /cmake
parent863812b0a43594cc0be8945a3798670add7c378d (diff)
find USB on all platforms
Keep the 'usb-1.0' as the preferred match, but also match simply 'usb' as provided on some platforms. Allows kFreeBSD system support.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/FindUSB.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/FindUSB.cmake b/cmake/Modules/FindUSB.cmake
index 97f3db6752..b050c420e5 100644
--- a/cmake/Modules/FindUSB.cmake
+++ b/cmake/Modules/FindUSB.cmake
@@ -8,7 +8,7 @@ if(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