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
@ -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'],
|
||||||
|
@ -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',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user