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>
This commit is contained in:
committed by
Daniel Stone
parent
27fb564a19
commit
43ebb7e25a
@@ -73,7 +73,7 @@ endif
|
|||||||
|
|
||||||
if get_option('remoting') or get_option('pipewire')
|
if get_option('remoting') or get_option('pipewire')
|
||||||
if not get_option('renderer-gl')
|
if not get_option('renderer-gl')
|
||||||
warning('DRM virtual requires renderer-gl.')
|
error('DRM virtual requires renderer-gl.')
|
||||||
endif
|
endif
|
||||||
srcs_drm += 'drm-virtual.c'
|
srcs_drm += 'drm-virtual.c'
|
||||||
config_h.set('BUILD_DRM_VIRTUAL', '1')
|
config_h.set('BUILD_DRM_VIRTUAL', '1')
|
||||||
|
|||||||
Reference in New Issue
Block a user