gsettings: Use strict compilation

Without this flag, changes resulting in invalid gschemas are ignored and
easily lost within the compilation input. In CI and some development
workflows this may let bad builds through.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3262>
This commit is contained in:
dcz 2024-04-05 16:17:56 +00:00 committed by Florian Müllner
parent 0cc6a2747d
commit e4f2edf9bd

View File

@ -126,5 +126,5 @@ endif
custom_target('compile-schemas',
input: schema,
output: 'gschemas.compiled',
command: [find_program('glib-compile-schemas'), data_builddir],
command: [find_program('glib-compile-schemas'), '--strict', data_builddir],
build_by_default: true)