Skip to content
Commit 182d3771 authored by Pekka Paalanen's avatar Pekka Paalanen
Browse files

meson: fix pangocairo being optional



Cannot use dependency() directly in the structure, because it will
execute regardless of the option. Instead, let's store the dependency
name in the structure and use the same logic as with simple_clients to
conditionally look for the dependencies.

As a bonus, this brings friendly error messages to demo-clients
dependencies.

subsurfaces' dependencies are also converted to maintain consistency
with simple_clients.

Signed-off-by: default avatarPekka Paalanen <pq@iki.fi>
parent a23ce295
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment