meson: Compile schemas in build directory
To make it easier to run from the build directory without having to install.
This commit is contained in:
@@ -68,7 +68,11 @@ install_data(
|
||||
)
|
||||
)
|
||||
|
||||
install_data('sm.puri.Calls.gschema.xml',
|
||||
schema_src = 'sm.puri.Calls.gschema.xml'
|
||||
compiled = gnome.compile_schemas(build_by_default: true,
|
||||
depends_files: files(schema_src))
|
||||
|
||||
install_data(schema_src,
|
||||
install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas')
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user