Warning, /pim/kdepim-addons/plugins/messageviewer/bodypartformatter/highlighter/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 add_definitions(-DTRANSLATION_DOMAIN=\"messageviewer_text_xdiff_plugin\") 0004 add_library(messageviewer_bodypartformatter_text_highlighter MODULE ) 0005 target_sources(messageviewer_bodypartformatter_text_highlighter PRIVATE texthighlighterplugin.cpp highlighter.cpp highlighter.h) 0006 0007 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) 0008 set_target_properties(messageviewer_bodypartformatter_text_highlighter PROPERTIES UNITY_BUILD ON) 0009 endif() 0010 0011 target_link_libraries(messageviewer_bodypartformatter_text_highlighter 0012 Qt::Core 0013 KPim6::MessageViewer 0014 KF6::SyntaxHighlighting 0015 KF6::TextTemplate 0016 ) 0017 0018 install(TARGETS messageviewer_bodypartformatter_text_highlighter DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim6/messageviewer/bodypartformatter)