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)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Wed, 28 Jun 2017 13:38:35 +0000 (09:38 -0400)
Otherwise when the glib is used as a subproject config.h is the glib
one, not ours.

tools/meson.build

index ba7eb86..322312a 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,