include_directories(${CMAKE_SOURCE_DIR}/akonadi)

set(kio_akonadi_srcs akonadislave.cpp )


kde4_add_plugin(kio_akonadi ${kio_akonadi_srcs})



target_link_libraries(kio_akonadi  ${KDE4_KIO_LIBS} ${KDE4_AKONADI_LIBS} )

install(TARGETS kio_akonadi DESTINATION ${PLUGIN_INSTALL_DIR} )


########### install files ###############

install( FILES akonadi.protocol  DESTINATION  ${SERVICES_INSTALL_DIR} )

