VERY experimental Nintendo Switch 2 emulator
C++
[port/freebsd] enable Libusb by default on FBSD15 (#3210)
lizzie3bc714a392a8
diff --git a/CMakeLists.txt b/CMakeLists.txtindex c9b0071f64..5b0630c85d 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -174,8 +174,8 @@ if ((MSVC AND NOT (CMAKE_BUILD_TYPE MATCHES "Debug|RelWithDebInfo") OR ANDROID))endif()option(YUZU_USE_BUNDLED_SIRIT "Download bundled sirit" ${BUNDLED_SIRIT_DEFAULT})-# Re-allow on FreeBSD once its on mainline ports-cmake_dependent_option(ENABLE_LIBUSB "Enable the use of LibUSB" ON "WIN32 OR PLATFORM_LINUX OR APPLE" OFF)+# FreeBSD 15+ has libusb, versions below should disable it+cmake_dependent_option(ENABLE_LIBUSB "Enable the use of LibUSB" ON "WIN32 OR PLATFORM_LINUX OR PLATFORM_FREEBSD OR APPLE" OFF)cmake_dependent_option(ENABLE_OPENGL "Enable OpenGL" ON "NOT WIN32 OR NOT ARCHITECTURE_arm64" OFF)mark_as_advanced(FORCE ENABLE_OPENGL)