mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
meson: zlib is not actually a hard requirement
This commit is contained in:
parent
10ff3c8e14
commit
5efc48977e
1 changed files with 3 additions and 5 deletions
|
@ -189,16 +189,14 @@ gsttag_dep = dependency('gstreamer-tag-1.0', version : gst_req,
|
|||
gstvideo_dep = dependency('gstreamer-video-1.0', version : gst_req,
|
||||
fallback : ['gst-plugins-base', 'video_dep'])
|
||||
|
||||
zlib_dep = dependency('zlib')
|
||||
zlib_dep = dependency('zlib', required : false)
|
||||
bz2lib = cc.find_library('bz2', required : false)
|
||||
glib_deps = [dependency('glib-2.0', version : glib_req, fallback: ['glib', 'libglib_dep']),
|
||||
dependency('gobject-2.0', fallback: ['glib', 'libgobject_dep'])]
|
||||
gio_dep = dependency('gio-2.0', fallback: ['glib', 'libgio_dep'])
|
||||
|
||||
cdata.set('HAVE_ZLIB', 1)
|
||||
if bz2lib.found()
|
||||
cdata.set('HAVE_BZ2', 1)
|
||||
endif
|
||||
cdata.set('HAVE_ZLIB', zlib_dep.found())
|
||||
cdata.set('HAVE_BZ2', bz2lib.found())
|
||||
|
||||
# Check all of the things.
|
||||
# TODO: None of these are actually used yet because
|
||||
|
|
Loading…
Reference in a new issue