Warning, /pim/mimetreeparser/autotests/widgets/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2023 g10 Code GmbH 
0002 # SPDX-FileContributor: Carl Schwan <carlschwan@kde.org>
0003 # SPDX-License-Identifier: BSD-3-Clause
0004 
0005 add_definitions(-DMAIL_DATA_DIR="${CMAKE_CURRENT_SOURCE_DIR}/../testdata")
0006 include(${CMAKE_SOURCE_DIR}/cmake/modules/add_gpg_crypto_test.cmake)
0007 
0008 ecm_add_test(messageviewerdialogtest.cpp
0009     LINK_LIBRARIES KPim6MimeTreeParserWidgets Qt::Test
0010     NAME_PREFIX "widgets-"
0011 )
0012 
0013 add_executable(messageviewertest messageviewertest.cpp ../setupenv.cpp)
0014 add_gpg_crypto_test(messageviewertest widgets-messageviewertest)
0015 target_link_libraries(messageviewertest PUBLIC
0016     Qt::Test
0017     KPim6::MimeTreeParserWidgets
0018     KF6::WidgetsAddons
0019     Gpgmepp
0020 )