summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2017-05-21 10:37:19 +0100
committerTim-Philipp Müller <tim@centricular.com>2017-05-21 10:37:19 +0100
commit34d08a016976a928405bfb33ce3d057872dc4d0d (patch)
treeb7d0fbd8cd20c9d37aeefcee6a6a7e222197a11a
parente67a5a9f1850c93b966ea80224dd58cfb925ee91 (diff)
meson: make C++ compiler optional
It's only needed for the taglib plugin which is optional.
-rw-r--r--ext/taglib/meson.build2
-rw-r--r--meson.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/taglib/meson.build b/ext/taglib/meson.build
index c0b6a50fc..6eb20e6e6 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 5b0a68056..c168f52d2 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',