summaryrefslogtreecommitdiffstats
path: root/externals/libusb/CMakeLists.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cmake: Fix FindPkgConfigAlexandre Bouvier2022-09-201-1/+1
|
* chore: make yuzu REUSE compliantAndrea Pappacoda2022-07-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to 01cf05bc75b1e47beb08937439f3ed9339e7b254
* cmake: Specify the compiler on autotools externalslat9nq2021-07-061-0/+2
| | | | Enables CCache on externals if available.
* Merge pull request #6459 from lat9nq/ubuntu-fixesAmeer J2021-07-011-0/+11
|\ | | | | cmake: Improve Linux dependency checking for externals
| * cmake: Fix find_program usage for 3.15lat9nq2021-06-131-0/+11
| | | | | | | | | | | | | | | | | | | | yuzu requires CMake 3.15 yet find_program was using REQUIRED, which is only available on 3.18 and later. Instead, we check for "<VAR>-NOTFOUND". In addition, check for additional requirements before building libusb or FFmpeg with autotools. Otherwise, CMake configuration will pass yet compilation will fail.
* | libusb: Apple is a POSIX systemMerryMage2021-06-261-1/+1
|/
* externals: Don't set FOUND or VERSION on LIBUSBlat9nq2021-06-111-3/+3
| | | | | | | | | Fixes an issue where libusb.h wouldn't be found when building yuzu on MSVC. This only affects the "traditional" CMake pathway for linking libusb to yuzu AKA MSVC. For autotools we still want to set these variables before configuring SDL.
* externals: libusb: Call program names not full pathslat9nq2021-06-031-4/+4
|
* externals: libusb: Link libusb statically on Linuxlat9nq2021-06-031-11/+13
| | | | Turns out that this is possible. Also addresses my own review comment.
* cmake: General improvements to libusb linkinglat9nq2021-06-031-9/+15
| | | | | | | | | Delegates libusb external communication to externals/CMakeLists.txt Ensures an interface library `usb` for every pathway input_common just links to the `usb` library now externals/libusb/CMakeLists.txt sets variables to override SDL2's libusb finding Other minor cleanup
* cmake: Use autotools to build libusb generally for GNUlat9nq2021-06-031-16/+28
| | | | | | | | | | Building libusb was also broken on GCC (and maybe Clang) on our CMakeLists after upgrading to 1.0.24, but it was not being checked because our 18.04 container had libusb installed on it. This builds on the MinGW work from earlier and extends it to the rest of the GNU toolchains. In addition we make use of pkg-config when present to find libusb. pkg-config is preferrable because we can specify a minimum required version.
* externals: libusb: Use autotools for MinGWlat9nq2021-05-311-138/+222
| | | | | | | | | | | | After updating to 1.0.24, MinGW fails to build libusb as a result of numerous errors. So we build libusb their way and let them update the nontrivial stuff. This only applies to MinGW: the old path is still in use for Linux toolchains as well as MSVC. This will dynamically link libusb, since I hit build errors with the old way we used to resolve the conflict with SDL2.
* Update libusb to 1.0.24german772021-05-211-3/+3
|
* externals/libusb/CMakeLists: Add /utf-8 compile option for MSVCMorph2021-03-151-0/+5
|
* externals: Work around libusb duplicate GUID errorsLioncash2020-09-031-0/+3
| | | | | | | Given we have two libraries that seem to use the same identifier, we can alter one of them so that the variable is used in place, effectively changing the used identifier, but without altering the source of libusb.
* externals: Track upstream libusbLioncash2020-08-261-0/+147
| | | | | | | We can place the external in an inner folder and manage the custom files necessary to integrate it with CMake directly. This allows us to directly change how we use it with our build system, as opposed to needing to change a fork.
* externals: Untrack non-upstream variant of libusbLioncash2020-08-261-0/+0
| | | | | We shouldn't be tracking personal forks of repositories when upstream can be managed directly.
* update libusb dependencyAmeer2020-06-221-0/+0
|
* Update src/input_common/main.cppameerj2020-06-221-0/+0
| | | | | | Co-authored-by: LC <mathew1800@gmail.com> update libusb submodule (hopefully windows build error fixed)
* Add libusb dependencyAmeer2020-06-211-0/+0