summaryrefslogtreecommitdiffstats
path: root/host/cmake
diff options
context:
space:
mode:
authorBen Hilburn <ben.hilburn@ettus.com>2013-11-27 11:53:38 -0800
committerBen Hilburn <ben.hilburn@ettus.com>2013-11-27 11:53:38 -0800
commit0e3912767266473e08386c910954450d16d33664 (patch)
tree0c450736b9fdbdf667b82ea588b753c617d7b9bf /host/cmake
parent7788c69225f68f67b95a5f778c7b45adf9cc046f (diff)
downloaduhd-0e3912767266473e08386c910954450d16d33664.tar.gz
uhd-0e3912767266473e08386c910954450d16d33664.tar.bz2
uhd-0e3912767266473e08386c910954450d16d33664.zip
Squashed commit uhd/cleanup.
Diffstat (limited to 'host/cmake')
-rw-r--r--host/cmake/Modules/FindUSB1.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/cmake/Modules/FindUSB1.cmake b/host/cmake/Modules/FindUSB1.cmake
index a494e1350..b2e4d118c 100644
--- a/host/cmake/Modules/FindUSB1.cmake
+++ b/host/cmake/Modules/FindUSB1.cmake
@@ -8,7 +8,8 @@ PKG_CHECK_MODULES(PC_LIBUSB QUIET libusb-1.0)
FIND_PATH(LIBUSB_INCLUDE_DIRS
NAMES libusb.h
- HINTS $ENV{LIBUSB_DIR}/include ${PC_LIBUSB_INCLUDEDIR}
+ HINTS $ENV{LIBUSB_DIR}/include $ENV{LIBUSB_DIR}/include/libusb-1.0
+ ${PC_LIBUSB_INCLUDEDIR} ${PC_LIBUSB_INCLUDEDIR}/libusb-1.0
PATHS /usr/local/include/libusb-1.0 /usr/local/include
/usr/include/libusb-1.0 /usr/include
/opt/local/include/libusb-1.0