From 499c15d66a72a41523a379aadca559ae36150fa3 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sat, 10 Sep 2022 18:30:06 +0100 Subject: 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. --- meson.build | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meson.build') 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') -- cgit v1.2.1