Warning, /pim/kdepim-addons/kmail/plugins/antivirusplugin/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(kmail_antivirusplugin SOURCES
0004     ${kmail_antivirusplugin_SRCS} INSTALL_NAMESPACE pim6/kmail/mainview)
0005 
0006 target_sources(kmail_antivirusplugin PRIVATE
0007     antivirusplugin.cpp
0008     antivirusplugininterface.cpp
0009     ../common/antispamwizard.cpp
0010     ../common/antispam.qrc
0011     antivirusplugin.h
0012     antivirusplugininterface.h
0013     ../common/antispamwizard.h
0014 )
0015 
0016 
0017 target_link_libraries(kmail_antivirusplugin
0018   KPim6::PimCommonAkonadi KF6::Completion KPim6::MailCommon KPim6::AkonadiWidgets KF6::XmlGui KPim6::Libkdepim KF6::I18n KF6::GuiAddons
0019 )
0020 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0021     set_target_properties(kmail_antivirusplugin PROPERTIES UNITY_BUILD ON)
0022 endif()
0023 
0024 if(BUILD_TESTING)
0025    add_subdirectory(autotests)
0026 endif()