2 include_directories ( ${KOPETE_INCLUDES} )
4 ########### next target ###############
6 set(kopete_statistics_PART_SRCS
10 statisticscontact.cpp )
12 kde4_add_ui_files(kopete_statistics_PART_SRCS statisticswidgetbase.ui )
14 qt4_add_dbus_adaptor(kopete_statistics_PART_SRCS org.kde.kopete.Statistics.xml
15 statisticsplugin.h StatisticsPlugin)
17 kde4_add_plugin(kopete_statistics ${kopete_statistics_PART_SRCS})
20 target_link_libraries(kopete_statistics kopete ${QT_QTSQL_LIBRARY} ${KDE4_KHTML_LIBS} )
22 install(TARGETS kopete_statistics DESTINATION ${PLUGIN_INSTALL_DIR})
25 ########### install files ###############
26 install( FILES org.kde.kopete.Statistics.xml DESTINATION ${DBUS_INTERFACES_INSTALL_DIR} )
27 install( FILES kopete_statistics.desktop DESTINATION ${SERVICES_INSTALL_DIR})
28 install( FILES statisticsui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_statistics)