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>
This commit is contained in:
parent
68fd4b3c91
commit
1ddda31f14
5 changed files with 13 additions and 13 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue