mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue