shift-shell/containments/taskpanel/CMakeLists.txt
Nicolas Fella 8f92f6b4d6 Use versionless Qt cmake target
This makes it easier to build against both Qt5 and Qt6

GIT_SILENT
2021-01-30 17:23:02 +01:00

24 lines
713 B
CMake

set(taskpanel_SRCS
taskpanel.cpp
)
add_library(plasma_containment_phone_taskpanel MODULE ${taskpanel_SRCS})
kcoreaddons_desktop_to_json(plasma_containment_phone_taskpanel package/metadata.desktop)
target_link_libraries(plasma_containment_phone_taskpanel
Qt::Gui
Qt::DBus
KF5::Plasma
Qt::Qml
Qt::Quick
KF5::I18n
KF5::Service
KF5::WaylandClient
)
install(TARGETS plasma_containment_phone_taskpanel DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/applets)
plasma_install_package(package org.kde.phone.taskpanel)