project(plasma-groupphoto)

set(groupphoto_SRCS
    groupphoto.cpp)


kde4_add_ui_files(groupphoto_SRCS config.ui )

kde4_add_plugin(plasma_applet_groupphoto ${groupphoto_SRCS})
target_link_libraries(plasma_applet_groupphoto ${PLASMA_LIBS} ${KDE4_KIO_LIBS})

install(TARGETS plasma_applet_groupphoto DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES plasma-groupphoto-default.desktop DESTINATION ${SERVICES_INSTALL_DIR})

install(FILES
    group-photo.jpg group-photo-2006.jpg group-photo.html group-photo-2006.html
    DESTINATION ${DATA_INSTALL_DIR}/groupphoto/)

