mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 04:36:07 +00:00
meson: Require Video 4 Linux on Linux
This commit is contained in:
parent
3219a4171b
commit
25ce5d29c1
|
@ -65,6 +65,11 @@ hidapi_required = false
|
||||||
openhmd_required = false
|
openhmd_required = false
|
||||||
v4l2_required = false
|
v4l2_required = false
|
||||||
|
|
||||||
|
# For now required on Linux
|
||||||
|
if sys.OS() is 'Linux':
|
||||||
|
v4l2_required = true
|
||||||
|
endif
|
||||||
|
|
||||||
drivers = get_option('drivers')
|
drivers = get_option('drivers')
|
||||||
if 'ohmd' in drivers
|
if 'ohmd' in drivers
|
||||||
openhmd_required = true
|
openhmd_required = true
|
||||||
|
|
Loading…
Reference in a new issue