From 675bec3e3837c09bd10cdf309a1a3b556d94bd0d Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 16 Jun 2020 12:13:16 +0200 Subject: 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. --- host/lib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib') 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) -- cgit v1.2.3