summaryrefslogtreecommitdiff
path: root/externals/libusb
diff options
context:
space:
mode:
authorGravatar liamwhite2023-10-30 15:32:31 -0400
committerGravatar GitHub2023-10-30 15:32:31 -0400
commit22cac3a5e342e4a98d87c113b2d95b84cb5aa826 (patch)
treeae3d6c6caaae42739b0ff957593a86ba5627c040 /externals/libusb
parentMerge pull request #11908 from t895/log-spam (diff)
parentexternals/opus: use CMakeLists shipped with Opus itself (diff)
downloadyuzu-22cac3a5e342e4a98d87c113b2d95b84cb5aa826.tar.gz
yuzu-22cac3a5e342e4a98d87c113b2d95b84cb5aa826.tar.xz
yuzu-22cac3a5e342e4a98d87c113b2d95b84cb5aa826.zip
Merge pull request #11728 from liushuyu/update-deps
Update external dependencies
Diffstat (limited to 'externals/libusb')
-rw-r--r--externals/libusb/CMakeLists.txt7
m---------externals/libusb/libusb0
2 files changed, 0 insertions, 7 deletions
diff --git a/externals/libusb/CMakeLists.txt b/externals/libusb/CMakeLists.txt
index 6757b59da..1d50c9f8c 100644
--- a/externals/libusb/CMakeLists.txt
+++ b/externals/libusb/CMakeLists.txt
@@ -49,11 +49,6 @@ if (MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux") OR APPLE)
49 49
50 set(LIBUSB_INCLUDE_DIRS "${LIBUSB_SRC_DIR}/libusb" CACHE PATH "libusb headers path" FORCE) 50 set(LIBUSB_INCLUDE_DIRS "${LIBUSB_SRC_DIR}/libusb" CACHE PATH "libusb headers path" FORCE)
51 51
52 # MINGW: causes "externals/libusb/libusb/libusb/os/windows_winusb.c:1427:2: error: conversion to non-scalar type requested", so cannot statically link it for now.
53 if (NOT MINGW)
54 set(LIBUSB_CFLAGS "-DGUID_DEVINTERFACE_USB_DEVICE=\\(GUID\\){0xA5DCBF10,0x6530,0x11D2,{0x90,0x1F,0x00,0xC0,0x4F,0xB9,0x51,0xED}}")
55 endif()
56
57 make_directory("${LIBUSB_PREFIX}") 52 make_directory("${LIBUSB_PREFIX}")
58 53
59 add_custom_command( 54 add_custom_command(
@@ -146,8 +141,6 @@ else() # MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
146 target_include_directories(usb BEFORE PRIVATE libusb/msvc) 141 target_include_directories(usb BEFORE PRIVATE libusb/msvc)
147 endif() 142 endif()
148 143
149 # Works around other libraries providing their own definition of USB GUIDs (e.g. SDL2)
150 target_compile_definitions(usb PRIVATE "-DGUID_DEVINTERFACE_USB_DEVICE=(GUID){ 0xA5DCBF10, 0x6530, 0x11D2, {0x90, 0x1F, 0x00, 0xC0, 0x4F, 0xB9, 0x51, 0xED}}")
151 else() 144 else()
152 target_include_directories(usb 145 target_include_directories(usb
153 # turns out other projects also have "config.h", so make sure the 146 # turns out other projects also have "config.h", so make sure the
diff --git a/externals/libusb/libusb b/externals/libusb/libusb
Subproject c6a35c56016ea2ab2f19115d2ea1e85e0edae15 Subproject c060e9ce30ac2e3ffb49d94209c4dae77b6642f