



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

set(kcal_resourceremote_LIB_SRCS resourceremote.cpp resourceremoteconfig.cpp )

kde4_automoc(${kcal_resourceremote_LIB_SRCS})

kde4_add_library(kcal_resourceremote SHARED ${kcal_resourceremote_LIB_SRCS})

target_link_libraries(kcal_resourceremote  ${KDE4_KDECORE_LIBS} ${KDE4_KCAL_LIBS} kdepim )

set_target_properties(kcal_resourceremote PROPERTIES VERSION 1.0.0 SOVERSION 1 )
install(TARGETS kcal_resourceremote  DESTINATION ${LIB_INSTALL_DIR})


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

set(kcal_remote_PART_SRCS resourceremote_plugin.cpp )

kde4_automoc(${kcal_remote_PART_SRCS})

kde4_add_plugin(kcal_remote ${kcal_remote_PART_SRCS})



target_link_libraries(kcal_remote  ${KDE4_KDECORE_LIBS} kcal_resourceremote kdepim )

install(TARGETS kcal_remote  DESTINATION ${PLUGIN_INSTALL_DIR})


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

install( FILES remote.desktop  DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal)
install( FILES resourceremoteconfig.h resourceremote.h  DESTINATION ${INCLUDE_INSTALL_DIR}/kcal)

