diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2018-01-30 10:31:03 +0100 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2018-01-30 11:10:38 +0000 |
commit | 9d37a92a615e54e8ee12f8c65bcfe386ec9de2d0 (patch) | |
tree | b112f731a289e0a85c76ed7ea919c8b2b018a4f1 /tools | |
parent | 6c57d06ee1905cae936eabbfa0b32faf104f0c39 (diff) | |
download | gst-omx-9d37a92a615e54e8ee12f8c65bcfe386ec9de2d0.tar.gz |
meson: use include_directories() with external OMX headers path
It seems cleaner to use the proper meson tools to include this path
rather than manually tweak the build flags.
This also allows us to simplify the OMX extensions detection code. We
are now always checking which files are present, even when using our
internal copy of OMX, rather than hardcoding the ones present in it.
https://bugzilla.gnome.org/show_bug.cgi?id=792043
Diffstat (limited to 'tools')
-rw-r--r-- | tools/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/meson.build b/tools/meson.build index 9af0288..7f6a670 100644 --- a/tools/meson.build +++ b/tools/meson.build @@ -1,7 +1,7 @@ executable('listcomponents', 'listcomponents.c', install: false, - include_directories : [configinc] + extra_inc, + include_directories : [configinc, omx_inc], dependencies : [glib_dep, gmodule_dep], link_with: [], c_args : gst_omx_args + extra_c_args, |