summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorThibault Saunier <thibault.saunier@osg.samsung.com>2016-09-05 22:30:01 -0300
committerThibault Saunier <thibault.saunier@osg.samsung.com>2016-09-05 22:32:55 -0300
commitf5c547063c77b15e6f7a4d2bb43f735472340bc6 (patch)
tree069df266b7f62bdb0bb2f4719fcac0818e0dd1b8 /meson.build
parentee46fba6c1f68d49bd7a761a4d7d2f46f59c25af (diff)
downloadgstreamer-plugins-bad-f5c547063c77b15e6f7a4d2bb43f735472340bc6.tar.gz
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
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
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')