Set a minimum version check for pipewire

Fixes compilation on systems with a lesser version than required
The minimum version is set to 0.3.29 as indicated in
https://invent.kde.org/plasma/kwin/-/merge_requests/1210
This commit is contained in:
Ismael Asensio 2021-09-04 04:24:07 +02:00
parent 5d73adf780
commit 2aacea5026

View file

@ -393,7 +393,7 @@ add_feature_info("SCHED_RESET_ON_FORK"
"Required for running kwin_wayland with real-time scheduling")
pkg_check_modules(PipeWire IMPORTED_TARGET libpipewire-0.3)
pkg_check_modules(PipeWire IMPORTED_TARGET libpipewire-0.3>=0.3.29)
add_feature_info(PipeWire PipeWire_FOUND "Required for Wayland screencasting")
########### global ###############