meson: Use source_root() to not require meson 0.56

This fixes the flatpak build.
This commit is contained in:
Benjamin Berg 2021-09-15 15:42:16 +02:00
parent aff063c23c
commit df41ed56f6

View file

@ -43,8 +43,8 @@ drivers_tests = [
if get_option('introspection')
conf = configuration_data()
conf.set('SRCDIR', meson.project_source_root())
conf.set('BUILDDIR', meson.project_build_root())
conf.set('SRCDIR', meson.source_root())
conf.set('BUILDDIR', meson.build_root())
configure_file(configuration: conf,
input: 'create-driver-test.py.in',
output: 'create-driver-test.py')