mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
meson: Fix warning about build_root() and source_root()
``` ../meson.build:384: WARNING: Project targeting '>= 0.60.0' but tried to use feature deprecated since '0.56.0': meson.build_root. use meson.project_build_root() or meson.global_build_root() instead. ../meson.build:385: WARNING: Project targeting '>= 0.60.0' but tried to use feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead. ... WARNING: Deprecated features used: * 0.56.0: {'meson.source_root', 'meson.build_root'} ``` Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1977>
This commit is contained in:
parent
1cb127f16b
commit
2913ab9dbf
1 changed files with 2 additions and 2 deletions
|
@ -381,8 +381,8 @@ message('Building subprojects: ' + ', '.join(subprojects_names))
|
||||||
|
|
||||||
setenv = find_program('gst-env.py')
|
setenv = find_program('gst-env.py')
|
||||||
|
|
||||||
devenv_cmd = [setenv, '--builddir=@0@'.format(meson.build_root()),
|
devenv_cmd = [setenv, '--builddir=@0@'.format(meson.global_build_root()),
|
||||||
'--srcdir=@0@'.format(meson.source_root())]
|
'--srcdir=@0@'.format(meson.global_source_root())]
|
||||||
|
|
||||||
subdir('tests')
|
subdir('tests')
|
||||||
if meson.can_run_host_binaries() and build_machine.system() == 'linux' and host_machine.system() == 'windows'
|
if meson.can_run_host_binaries() and build_machine.system() == 'linux' and host_machine.system() == 'windows'
|
||||||
|
|
Loading…
Reference in a new issue