wlroots-hyprland/render/gles2/meson.build
Simon Ser b9d55b8769 render/gles2: check GBM is found
The GLES2 renderer depends on EGL, which depends on GBM for device
selection.
2022-06-24 07:16:41 +02:00

15 lines
284 B
Meson

glesv2 = dependency('glesv2', required: 'gles2' in renderers)
if not (glesv2.found() and egl.found() and gbm.found())
subdir_done()
endif
features += { 'gles2-renderer': true }
wlr_deps += glesv2
wlr_files += files(
'pixel_format.c',
'renderer.c',
'shaders.c',
'texture.c',
)