From 3eaf811352726a56533a8ef6f25597ed62377c90 Mon Sep 17 00:00:00 2001 From: Heiko Becker Date: Mon, 29 Aug 2022 17:47:27 +0200 Subject: [PATCH] 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 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 335ededef6..e4033ec255 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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"