Commit cfdb284d authored by Sam Thursfield's avatar Sam Thursfield

build: Modify how we define the enum header

This is another change needed for tracker-miners to use the GSettings
schemas from this project when its build as a subproject.

See: tracker-miners!61
parent 0c0750be
Pipeline #78853 passed with stage
in 2 minutes and 6 seconds
......@@ -15,7 +15,7 @@ foreach schema : tracker_gsettings_schemas
tracker_store_settings_enums = custom_target('tracker-store-settings-enums',
input: '../src/libtracker-common/tracker-enums.h',
input: tracker_common_enums_header,
output: 'org.freedesktop.Tracker.enums.xml',
command: [glib_mkenums,
'--comments', '<!-- @comment@ -->',
tracker_common_enums_header = files('tracker-enums.h')
enums = gnome.mkenums('tracker-enum-types',
sources: 'tracker-enums.h',
sources: tracker_common_enums_header,
c_template: 'tracker-enum-types.c.template',
h_template: 'tracker-enum-types.h.template',
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment