The branch, master has been updated
       via  ed8aad3c13e0952476c4a70761246938cea9c81e (commit)
      from  3c7141a77b6caa55375ad77239d8716c5f371f5d (commit)


- Log -----------------------------------------------------------------
commit ed8aad3c13e0952476c4a70761246938cea9c81e
Author: Yegor Yefremov <[email protected]>
Date:   Thu Oct 12 09:11:13 2023 +0200

    CMake: use ${PC_LIBUSB_LIBRARIES} instead of a library name
    
    Patch taken from the Debian package:
    
https://sources.debian.org/src/libftdi1/1.5-6/debian/patches/02-kfreebsd.diff/

-----------------------------------------------------------------------

Summary of changes:
 cmake/FindLibUSB.cmake |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cmake/FindLibUSB.cmake b/cmake/FindLibUSB.cmake
index 766fc82..8bb3b11 100644
--- a/cmake/FindLibUSB.cmake
+++ b/cmake/FindLibUSB.cmake
@@ -25,7 +25,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 ${PC_LIBUSB_LIBRARIES}
     PATHS ${PC_LIBUSB_LIBDIR} ${PC_LIBUSB_LIBRARY_DIRS})
 
   include(FindPackageHandleStandardArgs)


hooks/post-receive
-- 
A library to talk to FTDI chips

--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [email protected]   

Reply via email to