tests/7 gnome: Add a dependency on the compiled schemas

The executable needs to pull in the compiled schemas or they won't be
compiled.
pull/803/head
Nirbheek Chauhan 8 years ago
parent 9d1aeebc27
commit d3e73e0dbc
  1. 4
      test cases/frameworks/7 gnome/schemas/meson.build

@ -1,8 +1,8 @@
gnome.compile_schemas() compiled = gnome.compile_schemas()
install_data('com.github.meson.gschema.xml', install_data('com.github.meson.gschema.xml',
install_dir : 'share/glib-2.0/schemas') install_dir : 'share/glib-2.0/schemas')
schemaexe = executable('schemaprog', 'schemaprog.c', schemaexe = executable('schemaprog', 'schemaprog.c', compiled,
dependencies : gio) dependencies : gio)
test('schema test', schemaexe) test('schema test', schemaexe)

Loading…
Cancel
Save