ebassi / graphene

A thin layer of graphic data types
http://ebassi.github.io/graphene
Other
373 stars 80 forks source link

meson: expose graphene_gobject_dep variable for graphene-gobject #179

Closed tp-m closed 4 years ago

tp-m commented 4 years ago

Expose a separate variable for graphene-gobject for subproject usage support, so the superproject and sibling subprojects can check for this directly as part of the dependency() fallback: logic instead of having to poke at the build_gobject subproject variable. This mirrors the pkg-config lookup logic where we have a dedicated .pc file for graphene-gobject as well. If gobject support was disabled the variable will be set to a not-found dep.