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