Skip to content
  • Pekka Paalanen's avatar
    meson: fix pangocairo being optional · 182d3771
    Pekka Paalanen authored
    
    
    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>
    182d3771