[compat] fix libusb when disabled error (solaris, fbsd, etc) #2649
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-compat-libusb-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This fixes an issue in builds where libusb is disabled, it also uses and prioritizes system dependencies over vendored ones (so ports is easier)
Signed-off-by: lizzie lizzie@eden-emu.dev
@ -172,3 +174,3 @@
mark_as_advanced(FORCE ENABLE_OPENGL)
option(ENABLE_WEB_SERVICE "Enable web services (telemetry, etc.)" ON)
cmake_dependent_option(ENABLE_WEB_SERVICE "Enable web services (telemetry, etc.)" ON "WIN32 OR ANDROID OR PLATFORM_LINUX OR APPLE" OFF)
why?
Easier for FBSD ports when we eventually get there
It shouldn't be forced off, ever. You can change the default if you wish though
@ -157,2 +157,3 @@
option(ENABLE_CUBEB "Enables the cubeb audio backend" ON)
# FreeBSD doesn't have a cubeb port yet, vendoring it isn't required (it's optional anyways)
cmake_dependent_option(ENABLE_CUBEB "Enables the cubeb audio backend" ON "NOT PLATFORM_FREEBSD" OFF)
Cmake dependent option forces it off here if the fourth argument is true, so you should just do
also, it gets vendored either way, so idk if this is even needed
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.