summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2022-05-09 13:10:18 +0300
committerKieran Bingham <kieran.bingham@ideasonboard.com>2022-05-10 13:53:43 +0200
commit1ddda31f14e0aa89057203b61793d75275e8cf34 (patch)
treedc289624c026e55dde24f7682950becf50e91c7d /Documentation
parent68fd4b3c9137ddf2416f9dc82d3e1964fcbd5bfd (diff)
meson: Use new project_*_root() functions
meson.source_root() and meson.build_root() are deprecated. Use meson.project_source_root() and meson.project_build_root() instead. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/meson.build b/Documentation/meson.build
index 33af82aa..8e2eacc6 100644
--- a/Documentation/meson.build
+++ b/Documentation/meson.build
@@ -12,8 +12,8 @@ dot = find_program('dot', required : get_option('documentation'))
if doxygen.found() and dot.found()
cdata = configuration_data()
cdata.set('VERSION', 'v@0@'.format(libcamera_git_version))
- cdata.set('TOP_SRCDIR', meson.source_root())
- cdata.set('TOP_BUILDDIR', meson.build_root())
+ cdata.set('TOP_SRCDIR', meson.project_source_root())
+ cdata.set('TOP_BUILDDIR', meson.project_build_root())
doxyfile = configure_file(input : 'Doxyfile.in',
output : 'Doxyfile',