From f72dc7bd5b1cc3049a431efa676382e2270000be Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 9 Jan 2012 12:07:33 -0800 Subject: usb: updated FindUSB1.cmake for standards compliance Using cmake's recommended conventions for find scripts. Find script also handles different library name for freebsd. --- host/lib/transport/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib') diff --git a/host/lib/transport/CMakeLists.txt b/host/lib/transport/CMakeLists.txt index 6a8d65770..3cae6180a 100644 --- a/host/lib/transport/CMakeLists.txt +++ b/host/lib/transport/CMakeLists.txt @@ -29,7 +29,7 @@ LIBUHD_REGISTER_COMPONENT("USB" ENABLE_USB ON "ENABLE_LIBUHD;LIBUSB_FOUND" OFF) IF(ENABLE_USB) MESSAGE(STATUS "USB support enabled via libusb.") - INCLUDE_DIRECTORIES(${LIBUSB_INCLUDE_DIR}) + INCLUDE_DIRECTORIES(${LIBUSB_INCLUDE_DIRS}) LIBUHD_APPEND_LIBS(${LIBUSB_LIBRARIES}) LIBUHD_APPEND_SOURCES( ${CMAKE_CURRENT_SOURCE_DIR}/libusb1_control.cpp -- cgit v1.2.3