include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/../.. ) ########### next target ############### kde4_add_plugin(emoticonstheme_xmpp xmpp_emoticons.cpp) target_link_libraries(emoticonstheme_xmpp kemoticons ${KDE4_KDEUI_LIBS} ${QT_QTXML_LIBRARY} ) ########### install files ############### install( TARGETS emoticonstheme_xmpp DESTINATION ${PLUGIN_INSTALL_DIR} ) install( FILES emoticonstheme_xmpp.desktop DESTINATION ${SERVICES_INSTALL_DIR} )