Add compilation flag for USB features
This allows to disable HID/OTG features on Linux to build without libusb.
This commit is contained in:
@@ -74,7 +74,7 @@ if v4l2_support
|
||||
src += [ 'src/v4l2_sink.c' ]
|
||||
endif
|
||||
|
||||
usb_support = host_machine.system() == 'linux'
|
||||
usb_support = get_option('usb') and host_machine.system() == 'linux'
|
||||
if usb_support
|
||||
src += [
|
||||
'src/usb/aoa_hid.c',
|
||||
|
||||
Reference in New Issue
Block a user