Warning, /pim/kdepim-addons/kaddressbook/plugins/checkgravatar/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org> 0002 # SPDX-License-Identifier: BSD-3-Clause 0003 0004 include_directories( 0005 ${CMAKE_CURRENT_BINARY_DIR} 0006 ) 0007 kcoreaddons_add_plugin(kaddressbook_checkgravatarplugin INSTALL_NAMESPACE pim6/kaddressbook/mainview) 0008 0009 target_sources(kaddressbook_checkgravatarplugin PRIVATE 0010 gravatar/job/gravatarupdatejob.cpp 0011 gravatar/widgets/gravatarupdatedialog.cpp 0012 gravatar/widgets/gravatarupdatewidget.cpp 0013 0014 checkgravatarplugininterface.cpp 0015 checkgravatarplugin.cpp 0016 gravatar/job/gravatarupdatejob.h 0017 gravatar/widgets/gravatarupdatedialog.h 0018 gravatar/widgets/gravatarupdatewidget.h 0019 0020 checkgravatarplugininterface.h 0021 checkgravatarplugin.h 0022 ) 0023 0024 ecm_qt_declare_logging_category(kaddressbook_checkgravatarplugin HEADER kaddressbook_checkgravatarplugin_debug.h IDENTIFIER KADDRESSBOOK_CHECKGRAVATAR_LOG CATEGORY_NAME org.kde.pim.kaddressbook_checkgravatar 0025 DESCRIPTION "kdepim-addons (kaddressbook gravatar plugin)" 0026 EXPORT KDEPIMADDONS 0027 ) 0028 0029 0030 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) 0031 set_target_properties(kaddressbook_checkgravatarplugin PROPERTIES UNITY_BUILD ON) 0032 endif() 0033 0034 target_link_libraries(kaddressbook_checkgravatarplugin 0035 KPim6::PimCommon KF6::Completion KPim6::PimCommonAkonadi KF6::XmlGui KPim6::Gravatar KF6::I18n KF6::Contacts 0036 ) 0037 0038 if (BUILD_TESTING) 0039 add_subdirectory(gravatar/autotests) 0040 add_subdirectory(gravatar/tests) 0041 endif()