cmake: Make KF5Wayland required again

wayland platform plugin uses KF::Wayland.
master
Vlad Zahorodnii 3 years ago
parent 260b224d3b
commit d6f02abad0

@ -100,6 +100,12 @@ set_package_properties(Threads PROPERTIES
TYPE REQUIRED TYPE REQUIRED
) )
find_package(KF5Wayland ${KF5_MIN_VERSION} CONFIG)
set_package_properties(KF5Wayland PROPERTIES
PURPOSE "Required to build wayland platform plugin and tests"
TYPE REQUIRED
)
# optional frameworks # optional frameworks
find_package(KF5Activities ${KF5_MIN_VERSION} CONFIG) find_package(KF5Activities ${KF5_MIN_VERSION} CONFIG)
set_package_properties(KF5Activities PROPERTIES set_package_properties(KF5Activities PROPERTIES
@ -420,7 +426,6 @@ if (BUILD_TESTING)
find_package(QtWaylandScanner ${QT_MIN_VERSION} REQUIRED) find_package(QtWaylandScanner ${QT_MIN_VERSION} REQUIRED)
find_package(Wayland REQUIRED COMPONENTS Client) find_package(Wayland REQUIRED COMPONENTS Client)
find_package(PlasmaWaylandProtocols CONFIG REQUIRED) find_package(PlasmaWaylandProtocols CONFIG REQUIRED)
find_package(KF5Wayland ${KF5_MIN_VERSION} REQUIRED)
add_subdirectory(autotests) add_subdirectory(autotests)
add_subdirectory(tests) add_subdirectory(tests)

Loading…
Cancel
Save