mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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
This commit is contained in:
parent
ee46fba6c1
commit
f5c547063c
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue