include_directories( ${CMAKE_SOURCE_DIR} ${KROSS_INCLUDES} ) set(krossmoduletutorial_PART_SRCS module.cpp part.cpp) kde4_automoc(${krossmoduletutorial_PART_SRCS}) kde4_add_plugin(krossmoduletutorial ${krossmoduletutorial_PART_SRCS}) target_link_libraries(krossmoduletutorial ${KDE4_KDECORE_LIBS} ${KDE4_KROSSCORE_LIBS} kparts ) #target_link_libraries(krossmoduletutorial ${KDE4_KDECORE_LIBS} ${KDE4_KROSSCORE_LIBS} kparts krosscore ) install(TARGETS krossmoduletutorial DESTINATION ${PLUGIN_INSTALL_DIR}) install( FILES krossmoduletutorial.desktop DESTINATION ${SERVICES_INSTALL_DIR})