
include_directories( ${CMAKE_SOURCE_DIR}/kttsd/libkttsd  )


########### next target ###############

set(kttsd_freettsplugin_PART_SRCS freettsconf.cpp freettsproc.cpp freettsplugin.cpp )

kde4_add_ui_files(kttsd_freettsplugin_PART_SRCS freettsconfigwidget.ui )

kde4_add_plugin(kttsd_freettsplugin WITH_PREFIX ${kttsd_freettsplugin_PART_SRCS})



target_link_libraries(kttsd_freettsplugin  ${KDE4_KDECORE_LIBS} kttsd )

install(TARGETS kttsd_freettsplugin  DESTINATION ${PLUGIN_INSTALL_DIR} )


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

install( FILES kttsd_freettsplugin.desktop  DESTINATION  ${SERVICES_INSTALL_DIR} )

