gl: Add dependency to gstallocators
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 29 May 2017 16:22:17 +0000 (12:22 -0400)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:28 +0000 (19:32 +0000)
ext/gl/meson.build

index 9dfd781..78a1a9d 100644 (file)
@@ -102,6 +102,10 @@ if build_gstgl and gstgl_dep.found()
     optional_deps += bcm_host_dep
   endif
 
+  if egl_dep.found() and cc.has_header('libdrm/drm_fourcc.h', required : false)
+    optional_deps += gstallocators_dep
+  endif
+
   gstopengl = library('gstopengl',
     opengl_sources,
     c_args : gst_plugins_bad_args + opengl_defines,