From e2f0470fafa70e01dcb3732736f555a1f0b3b800 Mon Sep 17 00:00:00 2001 From: Benjamin Dobell Date: Fri, 20 Feb 2015 02:13:02 +1100 Subject: Fix FindLibusb.cmake and make CMake setup IDE compatible --- cmake/Findlibusb.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake/Findlibusb.cmake') diff --git a/cmake/Findlibusb.cmake b/cmake/Findlibusb.cmake index 4b099d3..69811bc 100644 --- a/cmake/Findlibusb.cmake +++ b/cmake/Findlibusb.cmake @@ -27,7 +27,7 @@ find_library(LIBUSB_LIBRARY ) include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(LIBUSB REQUIRED_VARS LIBUSB_LIBRARY LIBUSB_INCLUDE_DIR) +find_package_handle_standard_args(libusb REQUIRED_VARS LIBUSB_LIBRARY LIBUSB_INCLUDE_DIR) if (LIBUSB_FOUND) set(LIBUSB_INCLUDE_DIRS ${LIBUSB_INCLUDE_DIR}) -- cgit v1.2.3