shift-shell/containments/panel/CMakeLists.txt
Nicolas Fella 6099bf491f Use undeprecated install dirs
Using kde-dev-scripts/kf5/cmakelists_install_vars.pl
2022-04-21 01:27:43 +00:00

26 lines
893 B
CMake

# SPDX-FileCopyrightText: 2017 Marco Martin <mart@kde.org>
# SPDX-FileCopyrightText: 2021 Aleix Pol <apol@kde.org>
# SPDX-FileCopyrightText: 2020-2021 Nicolas Fella <nicolas.fella@kde.org>
# SPDX-License-Identifier: GPL-2.0-or-later
set(phonepanel_SRCS
phonepanel.cpp
)
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::Service
)
install(TARGETS plasma_applet_phonepanel DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/applets)
#install(FILES plasma-phonepanel-default.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
plasma_install_package(package org.kde.phone.panel)