Commit 01cc9367 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Use versionless Qt cmake target

This makes it easier to build against both Qt5 and Qt6

GIT_SILENT
parent d0aaed91
add_executable(idleTest idle_test.cpp)
target_link_libraries(idleTest Qt5::Gui Qt5::Test KF5::IdleTime KF5::WaylandClient)
target_link_libraries(idleTest Qt::Gui Qt::Test KF5::IdleTime KF5::WaylandClient)
kwaylandtest(idleTest)
ecm_mark_as_test(idleTest)
......@@ -16,7 +16,7 @@ add_library(KF5WindowSystemKWaylandPlugin MODULE ${wayland_plugin_SRCS})
target_link_libraries(KF5WindowSystemKWaylandPlugin
KF5::WindowSystem
KF5::WaylandClient
Qt5::Widgets
Qt::Widgets
)
install(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment