
include_directories( 
${KOPETE_INCLUDES} 
${CMAKE_SOURCE_DIR}/kopete/kopete/chatwindow
${CMAKE_BINARY_DIR}/kopete/kopete/chatwindow
)


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

set(kcm_kopete_chatwindowconfig_PART_SRCS
   chatwindowconfig.cpp  )

kde4_add_ui_files(kcm_kopete_chatwindowconfig_PART_SRCS 
   chatwindowconfig_style.ui  )

kde4_automoc(${kcm_kopete_chatwindowconfig_PART_SRCS})

kde4_add_plugin(kcm_kopete_chatwindowconfig ${kcm_kopete_chatwindowconfig_PART_SRCS})


target_link_libraries(kcm_kopete_chatwindowconfig ${KDE4_KUTILS_LIBS} kopete kopetechatwindow_shared ${KDE4_KNEWSTUFF_LIBS} )

install(TARGETS kcm_kopete_chatwindowconfig DESTINATION ${PLUGIN_INSTALL_DIR})


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

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


