From 3449ac5a125a542c1ce78377f312607faf4271a8 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Sat, 24 Jun 2023 15:26:17 +0200 Subject: Make GSettings find schema XMLs in devenv --- meson.build | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 459600b..ed3acbe 100644 --- a/meson.build +++ b/meson.build @@ -202,10 +202,14 @@ if get_option('tools').enabled() endif endif +# Copying the files to the build directory makes GSettings find them in devenv. gsettings_schemas = ['fiv.gschema.xml'] foreach schema : gsettings_schemas - install_data(schema, - rename : [application_ns + schema], + configure_file( + input : schema, + output : application_ns + schema, + copy : true, + install: true, install_dir : get_option('datadir') / 'glib-2.0' / 'schemas') endforeach -- cgit v1.2.3-70-g09d2