From 34d08a016976a928405bfb33ce3d057872dc4d0d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 21 May 2017 10:37:19 +0100 Subject: [PATCH] meson: make C++ compiler optional It's only needed for the taglib plugin which is optional. --- ext/taglib/meson.build | 2 +- meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/taglib/meson.build b/ext/taglib/meson.build index c0b6a50..6eb20e6 100644 --- a/ext/taglib/meson.build +++ b/ext/taglib/meson.build @@ -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'], diff --git a/meson.build b/meson.build index 5b0a680..c168f52 100644 --- a/meson.build +++ b/meson.build @@ -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', -- 2.7.4