
include_directories( ${CMAKE_SOURCE_DIR}/noatun/library  )


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

set(noatun_systray_PART_SRCS 
   systray.cpp 
   noatunui.cpp 
   kitsystemtray.cpp 
   cmodule.cpp )

kde4_automoc(${noatun_systray_PART_SRCS})

kde4_add_ui_files(noatun_systray_PART_SRCS yhconfigwidget.ui )

kde4_add_kcfg_files(noatun_systray_PART_SRCS yhconfig.kcfgc )

kde4_add_plugin(noatun_systray ${noatun_systray_PART_SRCS})



target_link_libraries(noatun_systray  ${KDE4_KDECORE_LIBS} noatun )

install(TARGETS noatun_systray  DESTINATION ${PLUGIN_INSTALL_DIR} )


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

install( FILES systray.plugin systrayui.rc yhconfig.kcfg  DESTINATION  ${DATA_INSTALL_DIR}/noatun )




