Skip to content
  • Pekka Paalanen's avatar
    build: simplify dep_egl a bit · 915d8e8c
    Pekka Paalanen authored and Pekka Paalanen's avatar Pekka Paalanen committed
    
    
    Make sure dep_egl is always a valid dependency object, even if not
    found. Ensure it is not found when not wanted, to avoid linking when
    found but not wanted.
    
    Using a not-found dependency in Meson is defined to be a safe no-op, so
    use that to simplify the backend dependencies.
    
    libweston/meson.build already errors out if renderer-gl is enabled and
    EGL is not found, so the same checks can be removed from the backends.
    
    Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
    915d8e8c
Loading