aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2020-06-16 12:13:16 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2020-06-17 09:36:49 -0500
commit675bec3e3837c09bd10cdf309a1a3b556d94bd0d (patch)
tree4cfa9b0c121c1bc08dc5a6cf9aa32c9591158b28 /host/lib
parent366cab1fef44f1132a2acf8046ecaeac80793ccc (diff)
downloaduhd-675bec3e3837c09bd10cdf309a1a3b556d94bd0d.tar.gz
uhd-675bec3e3837c09bd10cdf309a1a3b556d94bd0d.tar.bz2
uhd-675bec3e3837c09bd10cdf309a1a3b556d94bd0d.zip
cmake: Fix warning finding libusb
UHD has a custom file to find libusb. This fixes a warning coming from that file caused by the fact that we're looking for a package called LIBUSB, but the file was called FindUSB1 (i.e., we're expecting a package name of USB1). Common CMake calls were also moved to lowercase for CMake coding guidelines consistency.
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/CMakeLists.txt b/host/lib/CMakeLists.txt
index 5a3377a55..c5046420a 100644
--- a/host/lib/CMakeLists.txt
+++ b/host/lib/CMakeLists.txt
@@ -59,7 +59,7 @@ endmacro(INCLUDE_SUBDIRECTORY)
########################################################################
message(STATUS "")
# Dependencies
-find_package(USB1)
+find_package(LIBUSB)
find_package(LIBERIO)
find_package(DPDK 18.11 EXACT)
LIBUHD_REGISTER_COMPONENT("LIBERIO" ENABLE_LIBERIO ON "ENABLE_LIBUHD;LIBERIO_FOUND" OFF OFF)