Warning, /pim/kdepim-addons/plugins/messageviewerconfigureplugins/gravatar/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 kcoreaddons_add_plugin(messageviewer_gravatarconfigplugin INSTALL_NAMESPACE pim6/messageviewer/configuresettings)
0004 target_sources(messageviewer_gravatarconfigplugin PRIVATE
0005    gravatarconfiguresettingspluginwidget.cpp
0006    gravatarconfiguresettingsplugin.cpp
0007    gravatarconfiguresettingsplugindialog.cpp
0008    gravatarconfiguresettingspluginwidget.h
0009    gravatarconfiguresettingsplugin.h
0010    gravatarconfiguresettingsplugindialog.h
0011 )
0012 
0013 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0014     set_target_properties(messageviewer_gravatarconfigplugin PROPERTIES UNITY_BUILD ON)
0015 endif()
0016 
0017 target_link_libraries(messageviewer_gravatarconfigplugin
0018   KPim6::MessageViewer
0019   KPim6::PimCommon
0020   KPim6::Gravatar
0021   KF6::I18n
0022 )
0023 
0024 if(BUILD_TESTING)
0025     add_subdirectory(autotests)
0026 endif()
0027