shift-shell/containments/panel/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
783 B
CMake

qt5_add_dbus_interfaces(DBUS_SRCS dbus/org.kde.KWin.Screenshot.xml
dbus/org.kde.KScreen.xml)
set(phonepanel_SRCS
phonepanel.cpp
${DBUS_SRCS}
)
add_library(plasma_applet_phonepanel MODULE ${phonepanel_SRCS})
kcoreaddons_desktop_to_json(plasma_applet_phonepanel package/metadata.desktop)
target_link_libraries(plasma_applet_phonepanel
Qt::Gui
Qt::DBus
KF5::Plasma
KF5::I18n
KF5::Notifications)
install(TARGETS plasma_applet_phonepanel DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/applets)
#install(FILES plasma-phonepanel-default.desktop DESTINATION ${SERVICES_INSTALL_DIR})
plasma_install_package(package org.kde.phone.panel)