diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2020-11-26 17:05:48 +0300 |
---|---|---|
committer | Ralph Giles <giles@thaumas.net> | 2020-11-26 22:20:44 +0300 |
commit | d2f6805c3f36718a742c33c56eb945c2e10646ef (patch) | |
tree | 3eb14cb0d058ab8ab042f13e7f2dc0529c3c204f /doc | |
parent | 841d57b82a516ccc6e90d1d4aee8d4a7f0d00010 (diff) |
Meson: Fix doc build when opus is a subproject
meson.source_root() and meson.build_root() have been deprecated in
latest Meson release because they are a trap. They point to the root of
parent project instead of root of current subproject. Meson 0.56.0 added
meson.project_source/build_root() but it is just as easy to use
meson.current_source/build_dir() in the root meson.build file and avoids
bumping required meson version.
Signed-off-by: Ralph Giles <giles@thaumas.net>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/meson.build | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/doc/meson.build b/doc/meson.build index 8f967a51..ee42a2b0 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -1,6 +1,3 @@ -top_srcdir = meson.source_root() -top_builddir = meson.build_root() - have_dot = find_program('dot', required: false).found() doxyfile_conf = configuration_data() |