7 ########### next target ###############
9 set(kopete_urlpicpreview_PART_SRCS
11 urlpicpreviewplugin.cpp )
13 kde4_add_kcfg_files(kopete_urlpicpreview_PART_SRCS urlpicpreviewconfig.kcfgc )
15 kde4_add_plugin(kopete_urlpicpreview ${kopete_urlpicpreview_PART_SRCS})
18 target_link_libraries(kopete_urlpicpreview ${KDE4_KDECORE_LIBS} kopete )
20 install(TARGETS kopete_urlpicpreview DESTINATION ${PLUGIN_INSTALL_DIR})
23 ########### next target ###############
25 set(kcm_kopete_urlpicpreview_PART_SRCS
26 urlpicpreviewpreferences.cpp )
28 kde4_add_ui_files(kcm_kopete_urlpicpreview_PART_SRCS urlpicpreviewprefsbase.ui )
30 kde4_add_kcfg_files(kcm_kopete_urlpicpreview_PART_SRCS urlpicpreviewconfig.kcfgc )
32 kde4_add_plugin(kcm_kopete_urlpicpreview ${kcm_kopete_urlpicpreview_PART_SRCS})
35 target_link_libraries(kcm_kopete_urlpicpreview ${KDE4_KUTILS_LIBS} kopete )
37 install(TARGETS kcm_kopete_urlpicpreview DESTINATION ${PLUGIN_INSTALL_DIR})
40 ########### install files ###############
42 install( FILES urlpicpreview.kcfg DESTINATION ${KCFG_INSTALL_DIR})
43 install( FILES kopete_urlpicpreview.desktop DESTINATION ${SERVICES_INSTALL_DIR})
44 install( FILES kopete_urlpicpreview_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
45 kde4_install_icons( ${DATA_INSTALL_DIR}/kopete/icons )