meson: Fix warning about build_root() and source_root()
authorNirbheek Chauhan <nirbheek@centricular.com>
Fri, 18 Mar 2022 08:13:00 +0000 (13:43 +0530)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 18 Mar 2022 22:49:16 +0000 (22:49 +0000)
commit2913ab9dbf79aac32c8c0e1e5294db0c919b82d2
tree7c2408410ffe679a45d5e5dc95e4a87407b2b6c9
parent1cb127f16b040659c138ca14cc780227394ae8c7
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>
meson.build