Update libusb to v1.0.26

This commit is contained in:
RipleyTom
2022-04-28 19:18:12 +02:00
committed by Megamouse
parent 7a434d19a6
commit 8316469cfc
6 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ option(WITHOUT_PTHREADS "force pthreads to not be used. if on, then they are us
set(LIBUSB_MAJOR 1)
set(LIBUSB_MINOR 0)
set(LIBUSB_MICRO 23)
set(LIBUSB_MICRO 26)
macro(append_compiler_flags)
foreach(FLAG IN ITEMS ${ARGN})
+2
View File
@@ -1,6 +1,8 @@
#ifndef LIBUSB_CONFIG_H
#define LIBUSB_CONFIG_H
#define PRINTF_FORMAT(a, b) __attribute__ ((__format__ (__printf__, a, b)))
#define DEFAULT_VISIBILITY @DEFAULT_VISIBILITY@
#cmakedefine ENABLE_DEBUG_LOGGING
+1
View File
@@ -49,6 +49,7 @@ elseif (APPLE)
find_package(IOKit REQUIRED)
list(APPEND LIBUSB_LIBRARIES ${IOKit_LIBRARIES})
list(APPEND LIBUSB_LIBRARIES "-framework Security")
# Currently only objc_registerThreadWithCollector requires linking against it
# which is only for MAC_OS_X_VERSION_MIN_REQUIRED >= 1060