mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 07:38:22 +02:00
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).
This commit is contained in:
parent
c3e48e63a2
commit
618b13c436
1 changed files with 3 additions and 1 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue