set(kdeconnect_ping_SRCS pingplugin.cpp ) add_library(kdeconnect_ping MODULE ${kdeconnect_ping_SRCS}) target_link_libraries(kdeconnect_ping kdeconnectcore KF5::KDELibs4Support) install(TARGETS kdeconnect_ping DESTINATION ${PLUGIN_INSTALL_DIR} ) install(FILES kdeconnect_ping.desktop DESTINATION ${SERVICES_INSTALL_DIR} )