meson: Use source_root() to not require meson 0.56
This fixes the flatpak build.
This commit is contained in:
parent
aff063c23c
commit
df41ed56f6
1 changed files with 2 additions and 2 deletions
|
@ -43,8 +43,8 @@ drivers_tests = [
|
||||||
|
|
||||||
if get_option('introspection')
|
if get_option('introspection')
|
||||||
conf = configuration_data()
|
conf = configuration_data()
|
||||||
conf.set('SRCDIR', meson.project_source_root())
|
conf.set('SRCDIR', meson.source_root())
|
||||||
conf.set('BUILDDIR', meson.project_build_root())
|
conf.set('BUILDDIR', meson.build_root())
|
||||||
configure_file(configuration: conf,
|
configure_file(configuration: conf,
|
||||||
input: 'create-driver-test.py.in',
|
input: 'create-driver-test.py.in',
|
||||||
output: 'create-driver-test.py')
|
output: 'create-driver-test.py')
|
||||||
|
|
Loading…
Reference in a new issue