summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2018-05-31 21:20:42 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2018-05-31 21:20:42 +0100
commit12240b3f12bc82a14ffabc58bfba81e3523a495e (patch)
tree983cf8572d790f7cfc1b445c4e75c845f249d675 /meson.build
parent1bce68c5601d47360d1e809ce494aa01ce162132 (diff)
downloadgdk-pixbuf-12240b3f12bc82a14ffabc58bfba81e3523a495e.tar.gz
build: Define HAVE_CONFIG_H at the project level
Instead of just for gdk-pixbuf-xlib.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index ce391b912..a989b4069 100644
--- a/meson.build
+++ b/meson.build
@@ -378,6 +378,7 @@ endif
gdk_pixbuf_conf.set_quoted('GETTEXT_PACKAGE', meson.project_name())
configure_file(output: 'config.h', configuration: gdk_pixbuf_conf)
+add_project_arguments([ '-DHAVE_CONFIG_H=1' ], language: 'c')
root_inc = include_directories('.')