#SPDX-FileCopyrightText: (C) 2020 Aleix Pol Gonzalzez #SPDX-License-Identifier: BSD-3-Clause add_definitions(-DTRANSLATION_DOMAIN=\"kcm_updates\") kcmutils_add_qml_kcm(kcm_updates SOURCES updates.cpp updates.h) kcmutils_generate_module_data(kcm_updates MODULE_DATA_HEADER discoverdata.h MODULE_DATA_CLASS_NAME DiscoverData SETTINGS_HEADERS discoversettings.h SETTINGS_CLASSES DiscoverSettings ) kcmutils_generate_module_data(kcm_updates MODULE_DATA_HEADER updatesdata.h MODULE_DATA_CLASS_NAME UpdatesData SETTINGS_HEADERS updatessettings.h SETTINGS_CLASSES UpdatesSettings ) kconfig_add_kcfg_files(kcm_updates updatessettings.kcfgc GENERATE_MOC) kconfig_add_kcfg_files(kcm_updates discoversettings.kcfgc GENERATE_MOC) target_link_libraries(kcm_updates PRIVATE KF6::I18n KF6::ConfigGui KF6::KCMUtilsQuick )