diff options
Diffstat (limited to 'libgweather/tools/meson.build')
-rw-r--r-- | libgweather/tools/meson.build | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libgweather/tools/meson.build b/libgweather/tools/meson.build index b50e194..3a05ef1 100644 --- a/libgweather/tools/meson.build +++ b/libgweather/tools/meson.build @@ -15,10 +15,13 @@ tools = [ } ] +schemas_srcdir = meson.project_source_root() / 'schemas' +schemas_builddir = meson.project_build_root() / 'schemas' + tools_cargs = [ '-DTEST_LOCATIONS="@0@"'.format(locations_bin.full_path()), - '-DSCHEMASDIR="@0@/schemas"'.format(meson.source_root()), - '-DSCHEMAS_BUILDDIR="@0@/schemas"'.format(meson.build_root()), + '-DSCHEMASDIR="@0@"'.format(schemas_srcdir), + '-DSCHEMAS_BUILDDIR="@0@"'.format(schemas_builddir), ] foreach tool: tools |