mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-28 22:53: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.
23 lines
537 B
CMake
23 lines
537 B
CMake
set(timesettings_SRCS
|
|
timesettings.cpp
|
|
timezonemodel.cpp
|
|
timezonesi18n.cpp
|
|
)
|
|
|
|
qt_add_dbus_interface(timesettings_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/timedated1.xml timedated_interface)
|
|
|
|
add_library(kcm_mobile_time MODULE ${timesettings_SRCS})
|
|
|
|
target_link_libraries(kcm_mobile_time
|
|
Qt::Quick
|
|
Qt::Qml
|
|
Qt::DBus
|
|
KF6::QuickAddons
|
|
KF6::ConfigCore
|
|
KF6::I18n
|
|
)
|
|
|
|
# Time and Date
|
|
|
|
install(TARGETS kcm_mobile_time DESTINATION ${KDE_INSTALL_QTPLUGINDIR}/kcms)
|
|
kpackage_install_package(package kcm_mobile_time kcms)
|