mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-08 08:21:16 -04:00
meson: use project build root for doxygen output
meson.build_root() returns the parent's build directory if Wayland is
a subproject. This fails with:
error: tag OUTPUT_DIRECTORY: Output directory '<parent-build-dir>/doc/doxygen' does not exist and cannot be created
Instead, use meson.project_build_root(), which returns the subproject's
build directory.
Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
c78807520f
commit
7816f0b842
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ dot_map = []
|
||||||
|
|
||||||
doxygen_conf = configuration_data()
|
doxygen_conf = configuration_data()
|
||||||
doxygen_conf.set('VERSION', meson.project_version())
|
doxygen_conf.set('VERSION', meson.project_version())
|
||||||
doxygen_conf.set('top_builddir', meson.build_root())
|
doxygen_conf.set('top_builddir', meson.project_build_root())
|
||||||
wayland_doxygen = configure_file(
|
wayland_doxygen = configure_file(
|
||||||
input: 'wayland.doxygen.in',
|
input: 'wayland.doxygen.in',
|
||||||
output: 'wayland.doxygen',
|
output: 'wayland.doxygen',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue