build: Add version.h to the headers list

So it is properly installed and the gir contains the required information

Fixes https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/issues/75

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/197>
This commit is contained in:
Thibault Saunier 2020-07-10 08:16:10 -04:00
parent 6938800bc8
commit 50616ad293

View file

@ -143,10 +143,10 @@ version_data.set('GES_VERSION_MINOR', gst_version_minor)
version_data.set('GES_VERSION_MICRO', gst_version_micro)
version_data.set('GES_VERSION_NANO', gst_version_nano)
configure_file(input : 'ges-version.h.in',
ges_headers += [configure_file(input : 'ges-version.h.in',
output : 'ges-version.h',
install_dir : join_paths(get_option('includedir'), 'gstreamer-1.0/ges'),
configuration : version_data)
configuration : version_data)]
install_headers(ges_headers, subdir : 'gstreamer-1.0/ges')