1
add_subdirectory( background )
3
include_directories( ${QIMAGEBLITZ_INCLUDES} )
4
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/background/ )
6
set(kcmbackgroundlib_SRCS
7
background/bgdialog.cpp
8
background/bgadvanced.cpp
9
background/bgmonitor.cpp
10
background/bgwallpaper.cpp
12
kde4_add_ui_files(kcmbackgroundlib_SRCS
13
background/bgwallpaper_ui.ui
14
background/bgdialog_ui.ui
15
background/bgadvanced_ui.ui)
17
set(kcm_kdm_PART_SRCS ${kcmbackgroundlib_SRCS} ${backgroundlib_SRCS}
30
kde4_add_plugin(kcm_kdm ${kcm_kdm_PART_SRCS})
33
target_link_libraries(kcm_kdm ${KDE4_KIO_LIBS} ${QIMAGEBLITZ_LIBRARIES} ${KDE4_KNEWSTUFF3_LIBS} ${X11_LIBRARIES} kworkspace)
35
macro_add_file_dependencies(kdm-shut.cpp ${confci})
36
add_dependencies(kcm_kdm ConfigCi)
38
install(TARGETS kcm_kdm DESTINATION ${PLUGIN_INSTALL_DIR})
40
#### KAuth helper and actions ####
41
kde4_add_executable(kcmkdmhelper helper.cpp)
42
target_link_libraries(kcmkdmhelper ${KDE4_KDECORE_LIBS})
43
install(TARGETS kcmkdmhelper DESTINATION ${LIBEXEC_INSTALL_DIR})
45
kde4_install_auth_helper_files(kcmkdmhelper org.kde.kcontrol.kcmkdm root)
47
kde4_install_auth_actions(org.kde.kcontrol.kcmkdm kcmkdm_actions.actions)
49
########### install files ###############
51
install( FILES kdm.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
53
install( FILES anchor.png DESTINATION ${DATA_INSTALL_DIR}/kcontrol/pics )
54
install( FILES kdm.knsrc DESTINATION ${CONFIG_INSTALL_DIR} )