remoting: make sure GL renderer is enabled
authorStefan Agner <stefan@agner.ch>
Sun, 21 Jul 2019 20:38:08 +0000 (22:38 +0200)
committerStefan Agner <stefan@agner.ch>
Fri, 25 Oct 2019 12:30:40 +0000 (14:30 +0200)
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>
remoting/meson.build

index 730febb935b9bb8621b169ddecddbfc1bb4de490..8b96f122551c3a58928972b53a8e8a3af93734cd 100644 (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 = [