kde-workspace/kcontrol/dateandtime/CMakeLists.txt
Ivailo Monev c4d070312d kcontrol: implement NTP-like date and time sync for clock KCM
except that it does not require NTP client and is up to the user when to do
that, can be done automatically at Katana session startup too

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-06 12:01:43 +03:00

34 lines
703 B
CMake

########### next target ###############
set(kcm_clock_PART_SRCS
kcm_clock.cpp
)
kde4_add_plugin(kcm_clock ${kcm_clock_PART_SRCS})
target_link_libraries(kcm_clock
KDE4::kdeui
KDE4::kio
)
install(
TARGETS kcm_clock
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
)
########### next target ###############
add_executable(kcmclockhelper kcm_clock_helper.cpp)
target_link_libraries(kcmclockhelper KDE4::kdecore)
install(
TARGETS kcmclockhelper
DESTINATION ${KDE4_LIBEXEC_INSTALL_DIR}
)
kde4_install_auth_helper_files(kcmclockhelper org.kde.kcontrol.kcmclock)
########### install files ###############
install(
FILES clock.desktop
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
)