remoting: make sure GL renderer is enabled

The remoting plug-in requires DRM virtual support which depends on
the GL renderer. Make sure the option is enabled.

Signed-off-by: Stefan Agner <stefan@agner.ch>
This commit is contained in:
Stefan Agner 2019-07-21 22:38:08 +02:00
parent 4a18f30225
commit 8d63e25963

View file

@ -1,8 +1,8 @@
if get_option('remoting')
user_hint = 'If you rather not build this, set \'-Dremoting=false\'.'
if not get_option('backend-drm')
error('Attempting to build the remoting plugin without the required DRM backend. ' + user_hint)
if not get_option('backend-drm') or not get_option('renderer-gl')
error('Attempting to build the remoting plugin without the required DRM backend and GL renderer. ' + user_hint)
endif
depnames = [