# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: BSD-3-Clause

set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})

include_directories(
    ${CMAKE_CURRENT_SOURCE_DIR}/..
    ${CMAKE_CURRENT_SOURCE_DIR}/../..
)
if(KDEPIM_RUN_AKONADI_TEST)
    add_akonadi_isolated_test(SOURCE mailsenderjobtest.cpp
        ADDITIONAL_SOURCES
            ../mailsenderjob.cpp
            ../kaddressbook_sendmailplugin_debug.cpp
        LINK_LIBRARIES
            KF6::Contacts
            KF6::Codecs
            KF6::I18n
    )
endif()
