[libmediaart: 1/2] meson.build: don't require C++
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libmediaart: 1/2] meson.build: don't require C++
- Date: Fri, 16 Oct 2020 10:47:39 +0000 (UTC)
commit c7dd66e8bd4bb966c7e53480b9e485f2bb42b6ce
Author: Fabrice Fontaine <fontaine fabrice gmail com>
Date: Fri May 8 21:07:58 2020 +0200
meson.build: don't require C++
Does not mandate C++ as it is only required for extractqt.cpp
Signed-off-by: Fabrice Fontaine <fontaine fabrice gmail com>
libmediaart/meson.build | 1 +
meson.build | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/libmediaart/meson.build b/libmediaart/meson.build
index 265a9ab..4d75023 100644
--- a/libmediaart/meson.build
+++ b/libmediaart/meson.build
@@ -19,6 +19,7 @@ libmediaart_sources = [
if image_library_name == 'gdk-pixbuf-2.0'
libmediaart_sources += 'extractpixbuf.c'
elif image_library_name == 'QtGui' or image_library_name == 'Qt5Gui'
+ add_languages('cpp', required : true)
libmediaart_sources += 'extractqt.cpp'
else
libmediaart_sources += 'extractdummy.c'
diff --git a/meson.build b/meson.build
index 741480d..f4196f4 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,4 @@
-project('libmediaart', 'c', 'cpp',
+project('libmediaart', 'c',
version: '1.9.4',
default_options: [ 'warning_level=1' ])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]