project(plasma-ggl) # We add our source code here set(package_SRCS ggl_package.cpp) # Now make sure all files get to the right place kde4_add_plugin(plasma_package_ggl ${package_SRCS}) target_link_libraries(plasma_package_ggl ${GOOGLEGADGETS_LIBRARIES} plasma ${KDE4_KDECORE_LIBS} ) # Now install the library and the .desktop file install(TARGETS plasma_package_ggl DESTINATION ${PLUGIN_INSTALL_DIR}) install(FILES plasma-packagestructure-googlegadgets.desktop DESTINATION ${SERVICES_INSTALL_DIR})