mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 23:29:00 +08:00
d1b4e88d3c
* [libftdi-compat] v0.20 port * Fixed wrong version number in CONTROL file. * Download source archive file instead. * restrict to shared library build only. * Remove dlls from static build. * [libftdi-compat] Update to 1.4. Replace CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS with a def file. Minimize patching. * [libftdi] Rename from libftdi-compat * [libftdi][libftdi1] Restore v0.20 as libftdi, move 1.4 to libftdi1
14 lines
520 B
Diff
14 lines
520 B
Diff
diff --git a/cmake/FindUSB1.cmake b/cmake/FindUSB1.cmake
|
|
index b90e297..6cc97a0 100644
|
|
--- 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)
|