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.
This commit is contained in:
Vlad Zahorodnii 2023-03-01 21:18:24 +02:00
parent 5184a630bb
commit 49977d38f2

View file

@ -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