summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2017-08-13 16:48:25 +0100
committerRichard Hughes <richard@hughsie.com>2017-08-13 16:48:28 +0100
commit98cf67bf3ffe2e6ccb629e3bcaf9a6b15dfd79ed (patch)
treeff639420af38067cce3668ce91c005e7e84722e0
parenta3615ef3db3d5ee919a3e78c93accbb4167ee574 (diff)
downloadcolord-98cf67bf3ffe2e6ccb629e3bcaf9a6b15dfd79ed.tar.gz
Include the correct file when using Colord-1.0.gir
Fixes https://github.com/hughsie/colord/issues/57
-rw-r--r--lib/colord/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/colord/meson.build b/lib/colord/meson.build
index b55d827..580a2fa 100644
--- a/lib/colord/meson.build
+++ b/lib/colord/meson.build
@@ -184,6 +184,9 @@ libcolord_girtarget = gnome.generate_gir(colord,
symbol_prefix : 'cd',
identifier_prefix : 'Cd',
export_packages : 'colord',
+ extra_args : [
+ '--c-include=colord.h',
+ ],
c_args : [
cargs,
],