meson: Require Video 4 Linux on Linux

This commit is contained in:
Jakob Bornecrantz 2019-09-26 16:13:24 +01:00
parent 3219a4171b
commit 25ce5d29c1

View file

@ -65,6 +65,11 @@ hidapi_required = false
openhmd_required = false
v4l2_required = false
# For now required on Linux
if sys.OS() is 'Linux':
v4l2_required = true
endif
drivers = get_option('drivers')
if 'ohmd' in drivers
openhmd_required = true