aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/ecore_buffer/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/ecore_buffer/meson.build')
-rw-r--r--src/modules/ecore_buffer/meson.build7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/modules/ecore_buffer/meson.build b/src/modules/ecore_buffer/meson.build
index 00f393fdb4..1982c7bcd7 100644
--- a/src/modules/ecore_buffer/meson.build
+++ b/src/modules/ecore_buffer/meson.build
@@ -4,22 +4,19 @@ subdir('shm')
#common dri packages
libtbm = dependency('libtbm', required: false)
-libdrm = dependency('libdrm', required: false)
-if libtbm.found() == true and libdrm.found() == true
+if libtbm.found() == true
libdri2 = dependency('libdri2', required: false)
if libdri2.found()
subdir('x11_dri2')
endif
-endif
-if libtbm.found() == true and libdrm.found() == true
xshmfence = dependency('xshmfence', required: false)
xcb = dependency('xcb', required: false)
x11_xcb = dependency('x11_xcb', required: false)
xcb_sync = dependency('xcb_sync', required: false)
xcb_dri3 = dependency('xkb_dri3', required: false)
if xshmfence.found() == true and xcb.found() == true and x11_xcb.found() and xcb_sync.found() and xkb_dri3.found()
- subdir('x11_dri3')
+ subdir('x11_dri3')
endif
endif