aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake/Modules/FindUSB1.cmake
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2013-04-30 10:40:14 -0700
committerNicholas Corgan <nick.corgan@ettus.com>2013-04-30 10:41:25 -0700
commitb8bdbc51312b1a1cf80dbc251a8ebb537ac9d5a9 (patch)
tree2d435febb7eb31403e85d78c1d81774fb7ba12c7 /host/cmake/Modules/FindUSB1.cmake
parent0f0ad387e874b704044f31c7d059ce977fffc4c5 (diff)
downloaduhd-b8bdbc51312b1a1cf80dbc251a8ebb537ac9d5a9.tar.gz
uhd-b8bdbc51312b1a1cf80dbc251a8ebb537ac9d5a9.tar.bz2
uhd-b8bdbc51312b1a1cf80dbc251a8ebb537ac9d5a9.zip
Minor changes for Debian package compliance
* Made CMake script to find libusb-1.0 stronger * Added Debian watchfile
Diffstat (limited to 'host/cmake/Modules/FindUSB1.cmake')
-rw-r--r--host/cmake/Modules/FindUSB1.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/cmake/Modules/FindUSB1.cmake b/host/cmake/Modules/FindUSB1.cmake
index 8bfc2f975..21005344b 100644
--- a/host/cmake/Modules/FindUSB1.cmake
+++ b/host/cmake/Modules/FindUSB1.cmake
@@ -22,7 +22,7 @@ FIND_PATH(LIBUSB_INCLUDE_DIRS
set(libusb1_library_names usb-1.0)
#libusb-1.0 compatible library on freebsd
-if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
+if((CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") OR (CMAKE_SYSTEM_NAME STREQUAL "kFreeBSD"))
list(APPEND libusb1_library_names usb)
endif()