# SPDX-FileCopyrightText: 2018 Volker Krause # SPDX-FileCopyrightText: 2022 Alexey Andreyev # # SPDX-License-Identifier: LicenseRef-KDE-Accepted-GPL find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED Core Quick) find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS Contacts People) find_package(PhoneNumber COMPONENTS PhoneNumber REQUIRED) add_library(contactphonenumbermapper STATIC phone-number-utils.cpp contact-phone-number-mapper.cpp) target_compile_definitions(contactphonenumbermapper PRIVATE -DQT_NO_CAST_FROM_ASCII) target_link_libraries(contactphonenumbermapper PUBLIC Qt::Core KF6::Contacts KF6::People KF6::PeopleBackend PhoneNumber::PhoneNumber ) target_include_directories(contactphonenumbermapper PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})