VERY experimental Nintendo Switch 2 emulator
C++
cmake: don't use pkg-config directly with non-reference libusb
Jan Beich4daba0bf26c7
diff --git a/CMakeLists.txt b/CMakeLists.txtindex 97afaf1a91..01de9ac0d0 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -424,7 +424,7 @@ endif()# Ensure libusb is properly configured (based on dolphin libusb include)if(NOT APPLE AND NOT YUZU_USE_BUNDLED_LIBUSB)include(FindPkgConfig)- if (PKG_CONFIG_FOUND)+ if (PKG_CONFIG_FOUND AND NOT CMAKE_SYSTEM_NAME MATCHES "DragonFly|FreeBSD")pkg_check_modules(LIBUSB QUIET libusb-1.0>=1.0.24)else()find_package(LibUSB)