Warning, /plasma-mobile/raven/src/mime/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2022 Carl Schwan <carl@carlschwan.eu>
0002 # SPDX-License-Identifier: BSD-3-Clause
0003 
0004 add_definitions( -DMAIL_DATA_DIR="${CMAKE_CURRENT_SOURCE_DIR}/../testdata" )
0005 
0006 include_directories(
0007     ${CMAKE_CURRENT_BINARY_DIR}
0008     ${CMAKE_CURRENT_SOURCE_DIR}/..
0009 )
0010 
0011 find_package(Qt5 REQUIRED NO_MODULE COMPONENTS Core Test)
0012 
0013 include( ${CMAKE_SOURCE_DIR}/cmake/modules/add_gpg_crypto_test.cmake )
0014 
0015 add_executable(mailtemplatetest
0016     mailtemplatetest.cpp
0017 )
0018 
0019 add_gpg_crypto_test(mailtemplatetest mailtemplatetest)
0020 target_link_libraries(mailtemplatetest
0021     Qt5::Core
0022     Qt5::Test
0023     kalendar_lib
0024     KF5::MailCommon
0025     KF5::AkonadiMime
0026     kalendar_mail_plugin
0027 )