diff --git a/doc/dbus/meson.build b/doc/dbus/meson.build index 885e79c..b70b283 100644 --- a/doc/dbus/meson.build +++ b/doc/dbus/meson.build @@ -14,7 +14,7 @@ if docbook_enabled spec_xml_files += custom_target(prefix +'.ref.xml', input : [ 'spec-to-docbook.xsl', - join_paths(meson.source_root(), 'cinnamon-session', prefix + '.xml'), + join_paths(meson.project_source_root(), 'cinnamon-session', prefix + '.xml'), ], output: prefix + '.ref.xml', command: [ diff --git a/meson.build b/meson.build index 03de0bd..2d626d6 100644 --- a/meson.build +++ b/meson.build @@ -2,7 +2,7 @@ project('cinnamon-session', [ 'c', ], version: '5.8.1', - meson_version: '>=0.37.0', + meson_version: '>=0.56.0', ) ################################################################################ @@ -162,7 +162,7 @@ message('\n'.join([ ' sysconfdir: @0@'.format(get_option('sysconfdir')), ' localstatedir: @0@'.format(get_option('localstatedir')), ' datadir: @0@'.format(get_option('datadir')), -' source code location: @0@'.format(meson.source_root()), +' source code location: @0@'.format(meson.project_source_root()), ' compiler: @0@'.format(cc.get_id()), ' cflags: @0@'.format(project_cflags), #' Maintainer mode: @0@'.format(USE_MAINTAINER_MODE),