diff options
author | Josh Blum <josh@joshknows.com> | 2012-02-21 08:46:31 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-02-21 08:48:15 -0800 |
commit | f0ac072a82fdd90438c2826e02aed0546be96014 (patch) | |
tree | 904b9f3df84fabacc3be4489b03b4ce73f8412e1 /host | |
parent | 2e85c4a2f1f36d5afb95c13c1f6033cf873ac6f0 (diff) | |
download | uhd-f0ac072a82fdd90438c2826e02aed0546be96014.tar.gz uhd-f0ac072a82fdd90438c2826e02aed0546be96014.tar.bz2 uhd-f0ac072a82fdd90438c2826e02aed0546be96014.zip |
usb: added /opt/local to libusb search path
For OSX from MLD
Diffstat (limited to 'host')
-rw-r--r-- | host/cmake/Modules/FindUSB1.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/host/cmake/Modules/FindUSB1.cmake b/host/cmake/Modules/FindUSB1.cmake index cf569d233..8bfc2f975 100644 --- a/host/cmake/Modules/FindUSB1.cmake +++ b/host/cmake/Modules/FindUSB1.cmake @@ -11,6 +11,7 @@ FIND_PATH(LIBUSB_INCLUDE_DIRS HINTS $ENV{LIBUSB_DIR}/include ${PC_LIBUSB_INCLUDEDIR} PATHS /usr/local/include/libusb-1.0 /usr/local/include /usr/include/libusb-1.0 /usr/include + /opt/local/include/libusb-1.0 #non-conforming naming convention, #backwards compatible with old script @@ -28,7 +29,7 @@ endif() FIND_LIBRARY(LIBUSB_LIBRARIES NAMES ${libusb1_library_names} HINTS $ENV{LIBUSB_DIR}/lib ${PC_LIBUSB_LIBDIR} - PATHS /usr/local/lib /usr/lib + PATHS /usr/local/lib /usr/lib /opt/local/lib ) include(FindPackageHandleStandardArgs) |