1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-23 03:02:53 +01:00
rpcs3/3rdparty/libusb_cmake
Bevan Weiss 1e83d2a4e9 LibUSB: Update to upstream master (and turn off YAML_CPP_INSTALL CMake property)
May resolve some outstanding issues around libusb/hidapi (i.e. DS4 not being released on rpcs3 shutdown etc..) or may not.
Fixes three outstanding compile warnings on non-Windows OS... introduces a few more warnings in WindowsOS (issue raised upstream with libusb around WINAPI_CHECK macro)
Re-ordered the 3rd party CMake so libusb is in file order above hidapi (just to have document flow match logical flow)

Also took this opportunity to remove the YAML INSTALL action (by setting YAML_CPP_INSTALL to OFF)
Provided capability to use system library for libusb by providing USE_SYS_LIBUSB option to CMAKE

Tested under:
- [X] Windows 10 2004 OS with DS4 controller
- [X] Windows 10 2004 OS with GCon3 controller
- [X] Linux (Mint 20) with DS4 controller
2020-10-16 22:51:52 +03:00
..
cmake/modules Use official libusb repo 2020-02-22 16:02:40 +03:00
CMakeLists.txt Fix CMake path to IOKit 2020-04-06 23:23:11 +03:00
config.cmake Use official libusb repo 2020-02-22 16:02:40 +03:00
config.h.cmake Use official libusb repo 2020-02-22 16:02:40 +03:00
libusb-1.0.pc.cmake Use official libusb repo 2020-02-22 16:02:40 +03:00
libusb.cmake Use official libusb repo 2020-02-22 16:02:40 +03:00
os.cmake LibUSB: Update to upstream master (and turn off YAML_CPP_INSTALL CMake property) 2020-10-16 22:51:52 +03:00