aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'host/cmake')
-rw-r--r--host/cmake/Modules/FindUSB1.cmake2
-rw-r--r--host/cmake/debian/watch3
2 files changed, 4 insertions, 1 deletions
diff --git a/host/cmake/Modules/FindUSB1.cmake b/host/cmake/Modules/FindUSB1.cmake
index 626d06cc1..a1ab4ca90 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()
diff --git a/host/cmake/debian/watch b/host/cmake/debian/watch
new file mode 100644
index 000000000..9e79c82aa
--- /dev/null
+++ b/host/cmake/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/([^0-9]|)0*(\d)/$1$2/g;s/_/./g \
+https://github.com/EttusResearch/uhd/tags .*/release_([\d_]+)\.tar\..*