summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2019-01-07 12:54:19 -0800
committerChia-I Wu <olvaffe@gmail.com>2019-01-08 10:58:48 -0800
commit6eeb1fe4911ff202618c70f0cc49349c28e75376 (patch)
treef9f19dbdf7efa41d207c79b627846e9871d5a456 /meson.build
parentb38a48a569493e02ad26f28cea21b65ea85ccb98 (diff)
meson: fix EGL/X11 build without GLX
dep_xcb and others were not set under this configuration. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 709f77a9c7a..601085e0552 100644
--- a/meson.build
+++ b/meson.build
@@ -1361,7 +1361,7 @@ if with_platform_x11
dep_xfixes = dependency('xfixes')
dep_xcb_glx = dependency('xcb-glx', version : '>= 1.8.1')
endif
- if (with_any_vk or with_glx == 'dri' or
+ if (with_any_vk or with_glx == 'dri' or with_egl or
(with_gallium_vdpau or with_gallium_xvmc or with_gallium_va or
with_gallium_omx != 'disabled'))
dep_xcb = dependency('xcb')