mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
meson: make C++ compiler optional
It's only needed for the taglib plugin which is optional.
This commit is contained in:
parent
e67a5a9f18
commit
34d08a0169
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ taglib_sources = [
|
|||
|
||||
taglib_dep = dependency('taglib', version : '>= 1.5', required : false)
|
||||
|
||||
if taglib_dep.found() and add_languages('cpp')
|
||||
if taglib_dep.found() and add_languages('cpp', required : false)
|
||||
gsttaglib = library('gsttaglib',
|
||||
taglib_sources,
|
||||
c_args : gst_plugins_good_args + ['-DGST_USE_UNSTABLE_API'],
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
project('gst-plugins-good', 'c', 'cpp',
|
||||
project('gst-plugins-good', 'c',
|
||||
version : '1.13.0.1',
|
||||
meson_version : '>= 0.36.0',
|
||||
default_options : [ 'warning_level=1',
|
||||
|
|
Loading…
Reference in a new issue