aboutsummaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/gles2/meson.build2
-rw-r--r--render/meson.build1
2 files changed, 2 insertions, 1 deletions
diff --git a/render/gles2/meson.build b/render/gles2/meson.build
index 8656714b..504f0c11 100644
--- a/render/gles2/meson.build
+++ b/render/gles2/meson.build
@@ -1,6 +1,6 @@
glesv2 = dependency('glesv2', required: 'gles2' in renderers)
-if not (glesv2.found() and egl.found() and gbm.found())
+if not (glesv2.found() and internal_features['egl'])
subdir_done()
endif
diff --git a/render/meson.build b/render/meson.build
index 2bdcced8..c8c6032f 100644
--- a/render/meson.build
+++ b/render/meson.build
@@ -20,6 +20,7 @@ if 'gles2' in renderers or 'auto' in renderers
if egl.found() and gbm.found()
wlr_deps += [egl, gbm]
wlr_files += files('egl.c')
+ internal_features += { 'egl': true }
endif
subdir('gles2')
endif