Commit 618b13c4 authored by Nirbheek Chauhan's avatar Nirbheek Chauhan 🐜
Browse files

meson: Add dependencies to the declared libcairo dep

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).
parent c3e48e63
......@@ -307,7 +307,9 @@ libcairo = library('cairo', cairo_sources,
cairo_headers += [configure_file(output: 'cairo-features.h', configuration: feature_conf)]
libcairo_dep = declare_dependency(link_with: libcairo, include_directories: incsrc)
libcairo_dep = declare_dependency(link_with: libcairo,
dependencies: deps,
include_directories: incsrc)
pkgmod.generate(libcairo,
description: 'Multi-platform 2D graphics library',
......
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