meson: make C++ compiler optional

It's only needed for the taglib plugin which is optional.
This commit is contained in:
Tim-Philipp Müller 2017-05-21 10:37:19 +01:00
parent e67a5a9f18
commit 34d08a0169
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ taglib_sources = [
taglib_dep = dependency('taglib', version : '>= 1.5', required : false) 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', gsttaglib = library('gsttaglib',
taglib_sources, taglib_sources,
c_args : gst_plugins_good_args + ['-DGST_USE_UNSTABLE_API'], c_args : gst_plugins_good_args + ['-DGST_USE_UNSTABLE_API'],

View file

@ -1,4 +1,4 @@
project('gst-plugins-good', 'c', 'cpp', project('gst-plugins-good', 'c',
version : '1.13.0.1', version : '1.13.0.1',
meson_version : '>= 0.36.0', meson_version : '>= 0.36.0',
default_options : [ 'warning_level=1', default_options : [ 'warning_level=1',