Warning, /pim/kdepim-addons/kmail/grammarplugins/languagetool/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2019-2024 Laurent Montel <montel@kde.org>
0002 # SPDX-License-Identifier: BSD-3-Clause
0003 
0004 if(BUILD_TESTING)
0005     add_subdirectory(autotests)
0006 endif()
0007 
0008 kcoreaddons_add_plugin(kmail_languagetoolplugin INSTALL_NAMESPACE pim6/kmail/plugineditorgrammar)
0009 target_sources(kmail_languagetoolplugin PRIVATE
0010     languagetoolplugin.cpp
0011     languagetoolinterface.cpp
0012     languagetoolplugin.h
0013     languagetoolinterface.h
0014     )
0015 
0016 ecm_qt_declare_logging_category(kmail_languagetoolplugin HEADER languagetoolplugin_debug.h IDENTIFIER KMAIL_EDITOR_LANGUAGETOOL_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_languagetoolplugin
0017     DESCRIPTION "kdepim-addons (languagetool plugin)"
0018     EXPORT KDEPIMADDONS
0019     )
0020 
0021 
0022 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0023     set_target_properties(kmail_languagetoolplugin PROPERTIES UNITY_BUILD ON)
0024 endif()
0025 
0026 target_link_libraries(kmail_languagetoolplugin
0027     KPim6::MessageComposer KF6::I18n KPim6::PimCommon KF6::XmlGui KF6::TextGrammarCheck)