aboutsummaryrefslogtreecommitdiff
path: root/render/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'render/meson.build')
-rw-r--r--render/meson.build5
1 files changed, 3 insertions, 2 deletions
diff --git a/render/meson.build b/render/meson.build
index a1289ede..2bdcced8 100644
--- a/render/meson.build
+++ b/render/meson.build
@@ -16,8 +16,9 @@ wlr_files += files(
if 'gles2' in renderers or 'auto' in renderers
egl = dependency('egl', required: 'gles2' in renderers)
- if egl.found()
- wlr_deps += egl
+ gbm = dependency('gbm', required: 'gles2' in renderers)
+ if egl.found() and gbm.found()
+ wlr_deps += [egl, gbm]
wlr_files += files('egl.c')
endif
subdir('gles2')