From 49977d38f2bcef70676ea97ecae9580b66c7fe5b Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Wed, 1 Mar 2023 21:18:24 +0200 Subject: [PATCH] build: Remove redundant find_package() for Wayland::Client find_package(Wayland) already takes of the client lib, it's needed by the wayland backend, so BUILD_TESTING specific find_package() can be merged with it. --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a74b39d670..e3838fec94 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,7 +62,6 @@ if (BUILD_TESTING) if (Qt6WaylandClient_VERSION VERSION_LESS "6.4.1") # TODO Plasma 6: Drop once minimum Qt version is 6.4.1+ include(Qt6WaylandClientMacrosKde) endif() - find_package(Wayland REQUIRED COMPONENTS Client) endif() # required frameworks by Core