kde-workspace/kdm/kcm/CMakeLists.txt

37 lines
1 KiB
Text
Raw Normal View History

2014-11-13 19:30:51 +02:00
include_directories( ${QIMAGEBLITZ_INCLUDES} )
2015-01-30 01:36:00 +00:00
set(kcm_kdm_PART_SRCS
2014-11-13 19:30:51 +02:00
kdm-gen.cpp
kdm-theme.cpp
kdm-shut.cpp
kdm-users.cpp
kdm-conv.cpp
main.cpp
kbackedcombobox.cpp
positioner.cpp)
kde4_add_plugin(kcm_kdm ${kcm_kdm_PART_SRCS})
2015-01-11 20:59:41 +00:00
target_link_libraries(kcm_kdm ${KDE4_KIO_LIBS} ${QIMAGEBLITZ_LIBRARIES} ${X11_LIBRARIES} kworkspace)
2014-11-13 19:30:51 +02:00
macro_add_file_dependencies(kdm-shut.cpp ${confci})
add_dependencies(kcm_kdm ConfigCi)
install(TARGETS kcm_kdm DESTINATION ${PLUGIN_INSTALL_DIR})
#### KAuth helper and actions ####
kde4_add_executable(kcmkdmhelper helper.cpp)
target_link_libraries(kcmkdmhelper ${KDE4_KDECORE_LIBS})
install(TARGETS kcmkdmhelper DESTINATION ${LIBEXEC_INSTALL_DIR})
kde4_install_auth_helper_files(kcmkdmhelper org.kde.kcontrol.kcmkdm root)
########### install files ###############
install( FILES kdm.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES anchor.png DESTINATION ${DATA_INSTALL_DIR}/kcontrol/pics )
install( FILES kdm.knsrc DESTINATION ${CONFIG_INSTALL_DIR} )