meson: fix install dir for configure files

Nixos configures a custom includedir.

https://bugzilla.gnome.org/show_bug.cgi?id=794856
This commit is contained in:
Bastian Köcher 2018-04-01 16:22:16 +02:00 committed by Tim-Philipp Müller
parent d6018ebaf5
commit 2a190557cf

View file

@ -136,7 +136,7 @@ version_data.set('GES_VERSION_NANO', gst_version_nano)
configure_file(input : 'ges-version.h.in',
output : 'ges-version.h',
install_dir : 'include/gstreamer-1.0/ges',
install_dir : join_paths(get_option('includedir'), 'gstreamer-1.0/ges'),
configuration : version_data)
install_headers(ges_headers, subdir : 'gstreamer-1.0/ges')