kde-workspace/kcontrol/dateandtime/CMakeLists.txt

42 lines
742 B
Text
Raw Normal View History

2014-11-13 19:30:51 +02:00
########### next target ###############
set(kcm_clock_PART_SRCS
dtime.cpp
main.cpp
)
2014-11-13 19:30:51 +02:00
kde4_add_plugin(kcm_clock ${kcm_clock_PART_SRCS})
target_link_libraries(kcm_clock
${KDE4_KIO_LIBS}
${KDE4_PLASMA_LIBS}
)
2014-11-13 19:30:51 +02:00
install(
TARGETS kcm_clock
DESTINATION ${PLUGIN_INSTALL_DIR}
)
2014-11-13 19:30:51 +02:00
########### next target ###############
add_executable(kcmdatetimehelper helper.cpp)
2014-11-13 19:30:51 +02:00
target_link_libraries(kcmdatetimehelper ${KDE4_KDECORE_LIBS})
install(
TARGETS kcmdatetimehelper
DESTINATION ${LIBEXEC_INSTALL_DIR}
)
kde4_install_auth_helper_files(
kcmdatetimehelper
org.kde.kcontrol.kcmclock
root
)
2014-11-13 19:30:51 +02:00
########### install files ###############
install(
FILES clock.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
)