# SPDX-FileCopyrightText: 2022 Alexander Lohnau <alexander.lohnau@gmx.de># SPDX-License-Identifier: BSD-3-Clauseadd_executable(krunner-plugininstallermain.cppAbstractJob.cppScriptJob.cppZypperRPMJob.cppKRunnerPluginInstallerRcJob.cpp)if(HAVE_PACKAGEKIT)target_sources(krunner-plugininstaller PUBLIC PackageKitJob.cpp)endif()target_link_libraries(krunner-plugininstallerQt::WidgetsKF6::CoreAddonsKF6::I18nKF6::ServiceKF6::KIOCoreKF6::KIOWidgets)if(HAVE_PACKAGEKIT)target_link_libraries(krunner-plugininstaller PK::packagekitqt6)endif()if (BUILD_TESTING)add_subdirectory(autotests)endif()install(TARGETS krunner-plugininstaller DESTINATION ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})