From 33202491e13fa44f894a5f4256c7be1f3eaf7551 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Thu, 17 Feb 2022 21:34:48 +0100 Subject: [PATCH] Build on macOS with libusb support Fixes #2774 PR #3031 --- BUILD.md | 2 +- app/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BUILD.md b/BUILD.md index f683be95..e32ab684 100644 --- a/BUILD.md +++ b/BUILD.md @@ -199,7 +199,7 @@ Install the packages with [Homebrew]: ```bash # runtime dependencies -brew install sdl2 ffmpeg +brew install sdl2 ffmpeg libusb # client build dependencies brew install pkg-config meson diff --git a/app/meson.build b/app/meson.build index 9ee38d5f..9cd009fe 100644 --- a/app/meson.build +++ b/app/meson.build @@ -74,7 +74,7 @@ if v4l2_support src += [ 'src/v4l2_sink.c' ] endif -usb_support = get_option('usb') and host_machine.system() == 'linux' +usb_support = get_option('usb') and host_machine.system() != 'windows' if usb_support src += [ 'src/usb/aoa_hid.c',