vcpkg/ports/libftdi1/libusb-fix.patch
Kinnon McAlister d9f832bc05
[libftdi1] update to 1.5 (#15917) (#15918)
* [libftdi1] update to 1.5 (#15917)

* [libftdi1] fixed outdated version file (#15917)

* [libftdi1] Switched to using option instead of patch to disable ftdi_eeprom (#15917)

* [libftdi1] updated version file (#15917)

* [libftdi1] Change version scheme

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-02-08 18:18:42 -08:00

14 lines
508 B
Diff

diff --git a/cmake/FindUSB1.cmake b/cmake/FindUSB1.cmake
index b90e297..6cc97a0 100755
--- a/cmake/FindUSB1.cmake
+++ b/cmake/FindUSB1.cmake
@@ -26,7 +26,7 @@ else (LIBUSB_INCLUDE_DIR AND LIBUSB_LIBRARIES)
PATH_SUFFIXES libusb-1.0
PATHS ${PC_LIBUSB_INCLUDEDIR} ${PC_LIBUSB_INCLUDE_DIRS})
- FIND_LIBRARY(LIBUSB_LIBRARIES NAMES usb-1.0
+ FIND_LIBRARY(LIBUSB_LIBRARIES NAMES usb-1.0 libusb-1.0
PATHS ${PC_LIBUSB_LIBDIR} ${PC_LIBUSB_LIBRARY_DIRS})
include(FindPackageHandleStandardArgs)