meson: Force gstenum_h to be built when using gst_dep

This forces gstenumtypes.h to be built whenever something uses gst_dep
as a subproject dependency. This is needed since gst/gst.h includes
gstenumtypes.h

Closes https://github.com/mesonbuild/meson/issues/714 which is not
actually a Meson bug.
This commit is contained in:
Nirbheek Chauhan 2016-09-23 00:28:53 +05:30
parent bf1c12342a
commit cfc565e2d8

View file

@ -253,5 +253,5 @@ gst_dep = declare_dependency(link_with : libgst,
include_directories : gst_incdirs,
dependencies : [glib_dep, gobject_dep, gmodule_dep],
# Everything that uses libgst needs this built to compile
sources : gst_gen_sources,
sources : [gst_gen_sources, gstenum_h],
)