summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-06-19 02:09:52 +0200
committerJan Beich <jbeich@FreeBSD.org>2021-07-27 17:01:56 +0200
commita24224e274637c1eaf0cad034977c65accf05028 (patch)
tree9783417570345bd7081712e35b02e9047f09ab48
parentMerge pull request #6484 from CaptV0rt3x/discord-rpc (diff)
downloadyuzu-a24224e274637c1eaf0cad034977c65accf05028.tar
yuzu-a24224e274637c1eaf0cad034977c65accf05028.tar.gz
yuzu-a24224e274637c1eaf0cad034977c65accf05028.tar.bz2
yuzu-a24224e274637c1eaf0cad034977c65accf05028.tar.lz
yuzu-a24224e274637c1eaf0cad034977c65accf05028.tar.xz
yuzu-a24224e274637c1eaf0cad034977c65accf05028.tar.zst
yuzu-a24224e274637c1eaf0cad034977c65accf05028.zip
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 97afaf1a9..01de9ac0d 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)