# SPDX-FileCopyrightText: 2018-2026 Laurent Montel <montel@kde.org>
# SPDX-FileCopyrightText: 2018-2019 Volker Krause <vkrause@kde.org>
# SPDX-License-Identifier: BSD-3-Clause

@PACKAGE_INIT@

include(CMakeFindDependencyMacro)
find_dependency(Qt6Gui "@QT_REQUIRED_VERSION@")
if(@KF6Mime_FOUND@)
    find_dependency(KF6Mime "@KF_MIN_VERSION@")
else()
    find_dependency(KPim6Mime "@KMIME_VERSION@")
    if(NOT TARGET KF6::Mime)
        add_library(KF6::Mime ALIAS KPim6::Mime)
    endif()
endif()
find_dependency(KF6CalendarCore "@KF_MIN_VERSION@")
find_dependency(KF6Contacts "@KF_MIN_VERSION@")
find_dependency(KPim6PkPass "@PIM_PKPASS@")

if (NOT @BUILD_SHARED_LIBS@)
    find_dependency(ZLIB)
    find_dependency(Poppler)
    find_dependency(ZXing)
    if (@HAVE_LIBXML2@)
        find_dependency(LibXml2)
    endif()
    if (@HAVE_PHONENUMBER@)
        find_dependency(libphonenumber)
    endif()
endif()

include("${CMAKE_CURRENT_LIST_DIR}/KPim6ItineraryTargets.cmake")
@PACKAGE_INCLUDE_QCHTARGETS@
