summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmeer J <52414509+ameerj@users.noreply.github.com>2021-07-28 03:26:17 +0200
committerGitHub <noreply@github.com>2021-07-28 03:26:17 +0200
commitd923ec5805e6cecde138559515ec5920f45fc452 (patch)
tree58e75b147be17165052f31878bab13a2e2922dae
parentMerge pull request #6749 from lioncash/rtarget (diff)
parentcmake: don't use pkg-config directly with non-reference libusb (diff)
downloadyuzu-d923ec5805e6cecde138559515ec5920f45fc452.tar
yuzu-d923ec5805e6cecde138559515ec5920f45fc452.tar.gz
yuzu-d923ec5805e6cecde138559515ec5920f45fc452.tar.bz2
yuzu-d923ec5805e6cecde138559515ec5920f45fc452.tar.lz
yuzu-d923ec5805e6cecde138559515ec5920f45fc452.tar.xz
yuzu-d923ec5805e6cecde138559515ec5920f45fc452.tar.zst
yuzu-d923ec5805e6cecde138559515ec5920f45fc452.zip
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 857550e71..d98ba7767 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -496,7 +496,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)