meson: Add libsinc to the CFLAGS

Otherwise gst-i18n-plugin.h can't be found.
This commit is contained in:
Sebastian Dröge 2018-12-17 12:30:27 +02:00
parent 2e6510b9e2
commit 38be1fb2db
4 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@ if openal_dep.found()
gstopenal = library('gstopenal',
'gstopenal.c', 'gstopenalsink.c', 'gstopenalsrc.c',
c_args: gst_plugins_bad_args,
include_directories: [configinc],
include_directories: [configinc, libsinc],
dependencies: [gstaudio_dep, openal_dep],
install: true,
install_dir: plugins_install_dir,

View file

@ -61,7 +61,7 @@
# include <config.h>
#endif
#include "../../gst-libs/gst/gst-i18n-plugin.h"
#include <gst/gst-i18n-plugin.h>
#include "gsttemplatematch.h"
#include <opencv2/imgproc.hpp>
#if (CV_MAJOR_VERSION >= 4)

View file

@ -104,7 +104,7 @@ if opencv_found
gstopencv_sources,
cpp_args : gst_plugins_bad_args + gstopencv_cargs + [ '-DGST_USE_UNSTABLE_API' ],
link_args : noseh_link_args,
include_directories : [configinc],
include_directories : [configinc, libsinc],
dependencies : [gstbase_dep, gstvideo_dep, opencv_dep, gstopencv_dep],
install : true,
install_dir : plugins_install_dir,

View file

@ -4,7 +4,7 @@ if sndfile_dep.found()
gstsndfile = library('gstsndfile',
'gstsf.c', 'gstsfdec.c', # 'gstsfsink.c', 'gstsfsrc.c',
c_args: gst_plugins_bad_args,
include_directories: [configinc],
include_directories: [configinc, libsinc],
dependencies: [gstaudio_dep, gst_dep, sndfile_dep],
install: true,
install_dir: plugins_install_dir,