Warning, /pim/kdepim-addons/kmail/editorplugins/nonbreakingspace/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 
0004 kcoreaddons_add_plugin(kmail_nonbreakingspaceeditorplugin INSTALL_NAMESPACE pim6/kmail/plugineditor)
0005 target_sources(kmail_nonbreakingspaceeditorplugin PRIVATE
0006     nonbreakingspaceplugineditor.cpp
0007     nonbreakingspaceplugineditorinterface.cpp
0008     nonbreakingspaceplugineditor.h
0009     nonbreakingspaceplugineditorinterface.h
0010 )
0011 
0012 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0013     set_target_properties(kmail_nonbreakingspaceeditorplugin PROPERTIES UNITY_BUILD ON)
0014 endif()
0015 
0016 target_link_libraries(kmail_nonbreakingspaceeditorplugin
0017   KPim6::MessageComposer KF6::XmlGui KF6::I18n
0018 )
0019 
0020 if(BUILD_TESTING)
0021    add_subdirectory(autotests)
0022 endif()
0023