From f0ac072a82fdd90438c2826e02aed0546be96014 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 21 Feb 2012 08:46:31 -0800 Subject: usb: added /opt/local to libusb search path For OSX from MLD --- host/cmake/Modules/FindUSB1.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3