Skip to content
  • Michael Pyne's avatar
    libtaskmanager: Fix build when PipeWire is not installed. · 92c08071
    Michael Pyne authored and Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez committed
    The CMake code is careful not to include PipeWire when it is not
    installed, however what it *does* include (taskmanagerplugin) still has
    a dependency on Screencasting classes, which prior to this are gated
    under the PipeWire check.
    
    Since these classes only require Wayland, not PipeWire, I fix the build
    error by reducing the CMake check for PipeWire to only add the
    PipeWire-specific bits when PipeWire is present, and to build the
    screencasting stuff unconditionally.
    
    The ECM logging code is named after PipeWire but doesn't depend on it
    either so that is also built unconditionally to avoid build failures
    about a missing "logging.h".
    
    BUG:456655
    92c08071