backend-drm: the GL renderer is a hard requirement for DRM virtual outputs
authorMichael Olbrich <m.olbrich@pengutronix.de>
Wed, 15 Jul 2020 09:54:47 +0000 (11:54 +0200)
committerDaniel Stone <daniels@collabora.com>
Mon, 17 Aug 2020 10:12:54 +0000 (10:12 +0000)
Building fails without it. So don't just warn about it but fail immediately.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
libweston/backend-drm/meson.build

index 8faedde97b1947ac3aa5f80cd693046bb040bf98..484c270283a7dd69df69b20880b9ba291cf6310a 100644 (file)
@@ -73,7 +73,7 @@ endif
 
 if get_option('remoting') or get_option('pipewire')
        if not get_option('renderer-gl')
-               warning('DRM virtual requires renderer-gl.')
+               error('DRM virtual requires renderer-gl.')
        endif
        srcs_drm += 'drm-virtual.c'
        config_h.set('BUILD_DRM_VIRTUAL', '1')