include_directories(${CMAKE_SOURCE_DIR}/workspace/libs ${CMAKE_BINARY_DIR}/plasma)

set(clipboard_engine_SRCS
    clipboardengine.cpp
    clipboardpoll.cpp
)

kde4_add_plugin(plasma_engine_clipboard ${clipboard_engine_SRCS})
target_link_libraries(plasma_engine_clipboard ${KDE4_KDEUI_LIBS} ${X11_Xfixes_LIB} plasma)

install(TARGETS plasma_engine_clipboard DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES plasma-engine-clipboard.desktop DESTINATION ${SERVICES_INSTALL_DIR} )

