diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2022-09-10 18:30:06 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2022-09-10 18:38:33 +0100 |
commit | 499c15d66a72a41523a379aadca559ae36150fa3 (patch) | |
tree | 2ec1c124c18dfc6aefc1ce3a5a29c5c795ce4bcd /meson.build | |
parent | da349aaf58b4facaa3a1720e8c973c9bffb4c887 (diff) | |
download | libgweather-499c15d66a72a41523a379aadca559ae36150fa3.tar.gz |
build: Move shared variables in the top level build file
We use the locations of the schemas directory in two places, so we might
as well share the same variables everywhere.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build index d8e9d7e..7569564 100644 --- a/meson.build +++ b/meson.build @@ -54,6 +54,9 @@ g_ir_scanner = find_program('g-ir-scanner', required: get_option('introspection' build_gir = get_option('introspection') and g_ir_scanner.found() and not meson.is_cross_build() build_docs = get_option('gtk_doc') and build_gir +schemas_srcdir = meson.project_source_root() / 'schemas' +schemas_builddir = meson.project_build_root() / 'schemas' + subdir('data') subdir('schemas') subdir('libgweather') |