Skip to content

Commit

Permalink
meson: pick up gobject from a subproject fallback as well
Browse files Browse the repository at this point in the history
Makes graphene find gobject in a gst-build on Windows scenario.
  • Loading branch information
tp-m committed Jan 7, 2020
1 parent a59d7ee commit 0de8c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ build_gobject = false
gobject_req_version = '>= 2.30.0'
if get_option('gobject_types')
graphene_gobject_api_path = '@0@-gobject-@1@'.format(meson.project_name(), graphene_api_version)
gobject = dependency('gobject-2.0', version: gobject_req_version, required: false)
gobject = dependency('gobject-2.0', version: gobject_req_version, required: false, fallback: ['glib', 'libgobject_dep'])
build_gobject = gobject.found()
if build_gobject
if cc.get_id() == 'msvc'
Expand Down

0 comments on commit 0de8c9c

Please sign in to comment.