CMake: Require at least plasma-wayland-protocols >= 1.8

It needs [1] from plasma-wayland-protocols.git or fails with
"outputmanagement_v2_interface.cpp:214:50: error:
'error_already_applied' was not declared in this scope" otherwise.

[1] f882bd942283262c27811a937e0d674d365ed72a
This commit is contained in:
Heiko Becker 2022-08-29 17:47:27 +02:00
parent 9e7fa0d0b7
commit 3eaf811352

View file

@ -215,7 +215,7 @@ set_package_properties(WaylandProtocols PROPERTIES
URL "https://gitlab.freedesktop.org/wayland/wayland-protocols/"
)
find_package(PlasmaWaylandProtocols CONFIG)
find_package(PlasmaWaylandProtocols 1.8 CONFIG)
set_package_properties(PlasmaWaylandProtocols PROPERTIES
TYPE REQUIRED
PURPOSE "Collection of Plasma-specific Wayland protocols"