not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / kcontrol / kdm / CMakeLists.txt
blobfa7bf9334ac4336b00935c514030f7faf60f2bcf
1 add_subdirectory( background )
3 # Currently needed for DEFAULT_TEXT_HEIGHT
4 # The plan is to move konq_iconviewwidget to kdesktop and then it's all inside workspace.
5 # But first KonqOperations must be redesigned to not use konq_iconviewwidget...
6 include_directories( ${QIMAGEBLITZ_INCLUDES} )
8 include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/background/  )
10 configure_file (kdm.knsrc.cmake ${CMAKE_CURRENT_BINARY_DIR}/kdm.knsrc @ONLY )
12 kde4_add_ui_files(kcmbackgroundlib_SRCS ${KDEBASE_WORKSPACE_SOURCE_DIR}/kcontrol/kdm/background/bgwallpaper_ui.ui ${KDEBASE_WORKSPACE_SOURCE_DIR}/kcontrol/kdm/background/bgdialog_ui.ui ${KDEBASE_WORKSPACE_SOURCE_DIR}/kcontrol/kdm/background/bgadvanced_ui.ui)
14 set(kcm_kdm_PART_SRCS ${kcmbackgroundlib_SRCS} ${backgroundlib_SRCS}
15    background.cpp
16    kdm-gen.cpp
17    kdm-dlg.cpp
18    kdm-theme.cpp
19    kdm-shut.cpp
20    kdm-users.cpp
21    kdm-conv.cpp
22    main.cpp
23    kbackedcombobox.cpp
24    positioner.cpp)
27 kde4_add_plugin(kcm_kdm ${kcm_kdm_PART_SRCS})
30 target_link_libraries(kcm_kdm ${KDE4_KDE3SUPPORT_LIBS} ${QIMAGEBLITZ_LIBRARIES} ${KDE4_KNEWSTUFF2_LIBS} ${X11_LIBRARIES})
32 install(TARGETS kcm_kdm  DESTINATION ${PLUGIN_INSTALL_DIR})
35 ########### install files ###############
37 install( FILES kdm.desktop  DESTINATION  ${SERVICES_INSTALL_DIR} )
39 install( FILES anchor.png  DESTINATION  ${DATA_INSTALL_DIR}/kcontrol/pics )
40 install( FILES ${CMAKE_CURRENT_BINARY_DIR}/kdm.knsrc DESTINATION ${CONFIG_INSTALL_DIR} )