mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Having the KCMs that are mobile specific here makes more sense than in the settings application. Historically plasma-settings had a faster release cycle than Plasma, but the application is now moving to the Plasma release schedule and so it makes sense do this now.
24 lines
568 B
CMake
24 lines
568 B
CMake
# SPDX-License-Identifier: BSD-3-Clause
|
|
# SPDX-FileCopyrightText: 2020 Tomaz Canabrava <tcanabrava@kde.org>
|
|
|
|
add_definitions(-DTRANSLATION_DOMAIN=\"kcm_mobile_power\")
|
|
|
|
add_library(kcm_mobile_power MODULE
|
|
mobilepower.cpp
|
|
batterymodel.cpp
|
|
statisticsprovider.cpp
|
|
)
|
|
|
|
target_link_libraries(kcm_mobile_power
|
|
Qt::DBus
|
|
Qt::Core
|
|
KF6::CoreAddons
|
|
KF6::I18n
|
|
KF6::QuickAddons
|
|
KF6::ConfigCore
|
|
KF6::Solid
|
|
)
|
|
|
|
install(TARGETS kcm_mobile_power DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms)
|
|
|
|
kpackage_install_package(package kcm_mobile_power kcms)
|