Skip to content

meson: Add dependencies to the declared libcairo dep

Nirbheek Chauhan requested to merge nirbheek/cairo:fix-subproject-usage into master

That way when other projects consume our declared dep, they get transitive dependencies too based on what features cairo was built with. Without this, projects that build cairo as a subproject and also build, say, fontconfig as a subproject will fail to find cairo-ft.h (etc).

With pkgconfig dependencies, this is handled by the pkgconfig file.

CC: @xclaesse

Merge request reports