build/meson: Make it possible to disable daydream&arduino

This commit is contained in:
Christoph Haag 2021-03-02 00:34:17 +01:00 committed by Jakob Bornecrantz
parent 92d94ddcc7
commit dbf804cfcb

View file

@ -211,11 +211,11 @@ if survive.found() and ('auto' in drivers and 'survive' not in drivers)
endif
if not get_option('dbus').disabled() and dbus.found()
if 'daydream' not in drivers
if 'auto' in drivers and 'daydream' not in drivers
drivers += ['daydream']
endif
if 'arduino' not in drivers
if 'auto' in drivers and 'arduino' not in drivers
drivers += ['arduino']
endif
endif