meson: Add configinc as include_directory in tools/
authorThibault Saunier <thibault.saunier@osg.samsung.com>
Tue, 27 Jun 2017 13:59:52 +0000 (09:59 -0400)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 3 Jul 2017 19:49:14 +0000 (20:49 +0100)
Otherwise when the glib is used as a subproject config.h is the glib
one, not ours.

tools/meson.build

index ba7eb864e7bfaa9185c3911ad4ca4091d1b748a1..322312aa99691c791ba1e7ab975d5065dc1329e6 100644 (file)
@@ -7,6 +7,7 @@ foreach tool : tools
   executable(exe_name,
     src_file,
     install: true,
+    include_directories : [configinc],
     dependencies : [glib_dep, gobject_dep, gmodule_dep, mathlib, gst_dep],
     link_with: [printf_lib],
     c_args: gst_c_args,