Warning, /pim/kdepim-addons/plugins/messageviewer/bodypartformatter/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 if(BUILD_TESTING)
0004     add_subdirectory(autotests)
0005 endif()
0006 add_subdirectory(ms-tnef)
0007 add_subdirectory(vcard)
0008 add_subdirectory(highlighter)
0009 add_subdirectory(calendar)
0010 add_subdirectory(gnupgwks)
0011 add_subdirectory(pkpass)
0012 add_subdirectory(itinerary)
0013 
0014 option(FORCE_DISCOUNT_LIB "Force using discount lib for markdown bodyformatter." TRUE)
0015 if (FORCE_DISCOUNT_LIB AND discount_FOUND)
0016     set(USE_DISCOUNT_LIB TRUE)
0017     MESSAGE(STATUS "build bodyparformatter mardown with discount support")
0018     add_subdirectory(markdown)
0019 else()
0020     set(USE_DISCOUNT_LIB FALSE)
0021     MESSAGE(STATUS "build bodyparformatter mardown with QTextDocument support")
0022     add_subdirectory(markdown)
0023 endif()