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.
master
Vlad Zahorodnii 2 years ago
parent 5184a630bb
commit 49977d38f2

@ -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+ if (Qt6WaylandClient_VERSION VERSION_LESS "6.4.1") # TODO Plasma 6: Drop once minimum Qt version is 6.4.1+
include(Qt6WaylandClientMacrosKde) include(Qt6WaylandClientMacrosKde)
endif() endif()
find_package(Wayland REQUIRED COMPONENTS Client)
endif() endif()
# required frameworks by Core # required frameworks by Core

Loading…
Cancel
Save