[gexiv2/gexiv2-0.12] build: Fix BMFF configuration test
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gexiv2/gexiv2-0.12] build: Fix BMFF configuration test
- Date: Sun, 12 Sep 2021 09:14:21 +0000 (UTC)
commit 7a619696e70682fd386f888616f75796a33468df
Author: Matt Turner <mattst88 gmail com>
Date: Sun Sep 5 11:35:56 2021 -0700
build: Fix BMFF configuration test
Fixes: 30cc5a3 ("build: Add check for BMFF support")
meson.build | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 029f8c4..a92e38d 100644
--- a/meson.build
+++ b/meson.build
@@ -15,15 +15,16 @@ exiv2 = dependency('exiv2', version : '>= 0.26')
gobject = dependency('gobject-2.0', version : '>= 2.46.0')
gio = dependency('gio-2.0', version : '>= 2.46.0')
cc = meson.get_compiler('c')
+cpp = meson.get_compiler('cpp')
math = cc.find_library('m', required : false)
-bmff_test = '''#include <exiv2/exiv2.h>
+bmff_test = '''#include <exiv2/exiv2.hpp>
#ifndef EXV_ENABLE_BMFF
#error No BMFF support in exiv2
#endif
'''
-bmff_available = cc.compiles(bmff_test, name : 'BMFF support in exiv2', dependencies : [exiv2])
+bmff_available = cpp.compiles(bmff_test, name : 'BMFF support in exiv2', dependencies : [exiv2])
gir = find_program('g-ir-scanner', required: false)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]