# SPDX-FileCopyrightText: 2015 Aleix Pol Gonzalez # Redistribution and use is allowed according to the terms of the BSD license. function(kdeconnect_add_plugin) kcoreaddons_add_plugin(${ARGN} INSTALL_NAMESPACE kdeconnect) if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${ARGV0}_config.qml") install(FILES "${ARGV0}_config.qml" DESTINATION ${DATA_INSTALL_DIR}/kdeconnect) endif() endfunction()