remove kde4_automoc()
[kdenetwork.git] / kopete / plugins / motionautoaway / CMakeLists.txt
blob8a28549fe02711d7879330b8c2d19b977538ff7d
5 ########### next target ###############
7 set(kopete_motionaway_PART_SRCS motionawayplugin.cpp )
9 kde4_add_kcfg_files(kopete_motionaway_PART_SRCS motionawayconfig.kcfgc )
11 kde4_add_plugin(kopete_motionaway ${kopete_motionaway_PART_SRCS})
14 target_link_libraries(kopete_motionaway  ${KDE4_KDECORE_LIBS} kopete )
16 install(TARGETS kopete_motionaway  DESTINATION ${PLUGIN_INSTALL_DIR})
19 ########### next target ###############
21 set(kcm_kopete_motionaway_PART_SRCS motionawaypreferences.cpp )
23 kde4_automoc(${kcm_kopete_motionaway_PART_SRCS})
25 kde4_add_ui_files(kcm_kopete_motionaway_PART_SRCS motionawayprefs.ui )
27 kde4_add_kcfg_files(kcm_kopete_motionaway_PART_SRCS motionawayconfig.kcfgc )
29 kde4_add_plugin(kcm_kopete_motionaway ${kcm_kopete_motionaway_PART_SRCS})
32 target_link_libraries(kcm_kopete_motionaway  ${KDE4_KDECORE_LIBS} ${KDE4_KUTILS_LIBS} )
34 install(TARGETS kcm_kopete_motionaway  DESTINATION ${PLUGIN_INSTALL_DIR})
37 ########### install files ###############
39 install( FILES motionawayconfig.kcfg  DESTINATION ${KCFG_INSTALL_DIR})
40 install( FILES kopete_motionaway.desktop  DESTINATION ${SERVICES_INSTALL_DIR})
41 install( FILES kopete_motionaway_config.desktop  DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)