mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 19:02:51 +00:00
41 lines
742 B
CMake
41 lines
742 B
CMake
########### next target ###############
|
|
|
|
set(kcm_clock_PART_SRCS
|
|
dtime.cpp
|
|
main.cpp
|
|
)
|
|
kde4_add_plugin(kcm_clock ${kcm_clock_PART_SRCS})
|
|
|
|
target_link_libraries(kcm_clock
|
|
${KDE4_KIO_LIBS}
|
|
${KDE4_PLASMA_LIBS}
|
|
)
|
|
|
|
install(
|
|
TARGETS kcm_clock
|
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
|
)
|
|
|
|
########### next target ###############
|
|
|
|
add_executable(kcmdatetimehelper helper.cpp)
|
|
|
|
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
|
|
)
|
|
|
|
########### install files ###############
|
|
|
|
install(
|
|
FILES clock.desktop
|
|
DESTINATION ${SERVICES_INSTALL_DIR}
|
|
)
|