project(plasma-rotator)


set(rotator_SRCS
    rotator.cpp)

qt4_add_resources(rotator_SRCS rotator.qrc)

kde4_add_plugin(plasma_applet_rotator ${rotator_SRCS})
target_link_libraries(plasma_applet_rotator ${PLASMA_LIBS} ${KDE4_KDEUI_LIBS})


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