Browse Source
Merge pull request #6753 from jbeich/libusb
cmake: unbreak libusb detection on FreeBSD
pull/15/merge
Ameer J
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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) |
|
|
|
|