From f5c547063c77b15e6f7a4d2bb43f735472340bc6 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Mon, 5 Sep 2016 22:30:01 -0300 Subject: meson: Fix building with meson 0.34 when using subprojects When using subproject meson.source_root() returns the root directory of the toplevel project which break build. Upstream meson bug: https://github.com/mesonbuild/meson/issues/722 --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index fc10e8e87..3b62439b1 100644 --- a/meson.build +++ b/meson.build @@ -340,7 +340,7 @@ gst_plugins_bad_args = ['-DHAVE_CONFIG_H'] configinc = include_directories('.') libsinc = include_directories('gst-libs') -vs_module_defs_dir = meson.source_root() + '/win32/common/' +vs_module_defs_dir = meson.current_source_dir() + '/win32/common/' # Used by the *_mkenum.py helper scripts glib_mkenums = find_program('glib-mkenums') -- cgit v1.2.3