aboutsummaryrefslogtreecommitdiff
path: root/render/gles2
diff options
context:
space:
mode:
Diffstat (limited to 'render/gles2')
-rw-r--r--render/gles2/meson.build9
1 files changed, 9 insertions, 0 deletions
diff --git a/render/gles2/meson.build b/render/gles2/meson.build
index d4d62c64..f2cd5fba 100644
--- a/render/gles2/meson.build
+++ b/render/gles2/meson.build
@@ -1,3 +1,12 @@
+glesv2 = dependency('glesv2', required: 'gles2' in renderers)
+
+if not (glesv2.found() and egl.found())
+ subdir_done()
+endif
+
+features += { 'gles2-renderer': true }
+wlr_deps += glesv2
+
wlr_files += files(
'pixel_format.c',
'renderer.c',