Make GSettings find schema XMLs in devenv
This commit is contained in:
parent
bbfa2344d6
commit
3449ac5a12
|
@ -202,10 +202,14 @@ if get_option('tools').enabled()
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Copying the files to the build directory makes GSettings find them in devenv.
|
||||||
gsettings_schemas = ['fiv.gschema.xml']
|
gsettings_schemas = ['fiv.gschema.xml']
|
||||||
foreach schema : gsettings_schemas
|
foreach schema : gsettings_schemas
|
||||||
install_data(schema,
|
configure_file(
|
||||||
rename : [application_ns + schema],
|
input : schema,
|
||||||
|
output : application_ns + schema,
|
||||||
|
copy : true,
|
||||||
|
install: true,
|
||||||
install_dir : get_option('datadir') / 'glib-2.0' / 'schemas')
|
install_dir : get_option('datadir') / 'glib-2.0' / 'schemas')
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue