Warning, /pim/kdepim-addons/plugins/messageviewerplugins/common/translatorplugin/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_translatorplugin INSTALL_NAMESPACE pim6/messageviewer/viewercommonplugin)
0004 target_sources(messageviewer_translatorplugin PRIVATE
0005     viewerplugintranslator.cpp
0006     viewerplugintranslatorinterface.cpp
0007     viewerplugintranslator.h
0008     viewerplugintranslatorinterface.h
0009 )
0010 
0011 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0012     set_target_properties(messageviewer_translatorplugin PROPERTIES UNITY_BUILD ON)
0013 endif()
0014 
0015 target_link_libraries(messageviewer_translatorplugin
0016   KPim6::MessageViewer KF6::XmlGui KPim6::PimTextEdit KF6::I18n
0017   KF6::TextTranslator
0018 )