backend-drm: the GL renderer is a hard requirement for DRM virtual outputs

Building fails without it. So don't just warn about it but fail immediately.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
dev
Michael Olbrich 5 years ago committed by Daniel Stone
parent 27fb564a19
commit 43ebb7e25a
  1. 2
      libweston/backend-drm/meson.build

@ -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')

Loading…
Cancel
Save