Verified Commit c89698e3 authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

alternatecalendar: Add optional dependency on ICU

CCBUG: 429892
parent 1d5a3df5
add_subdirectory(astronomical)
add_subdirectory(alternatecalendar)
# SPDX-FileCopyrightText: 2022 Fushan Wen <qydwhotmail@gmail.com>
# SPDX-License-Identifier: GPL-2.0-or-later
find_package(ICU 66.1 COMPONENTS uc i18n)
set_package_properties(ICU
PROPERTIES DESCRIPTION "Unicode and Globalization support for software applications"
TYPE OPTIONAL
PURPOSE "Provides alternate calendar systems that are not available in QCalendar"
)
if(ICU_FOUND)
set(HAVE_ICU TRUE)
endif()
configure_file(config-ICU.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-ICU.h)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment