Warning, /graphics/digikam/project/bundles/3rdparty/ext_libicu/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # Script to build libicu for digiKam bundle.
0002 #
0003 # SPDX-FileCopyrightText: 2015-2024 by Gilles Caulier  <caulier dot gilles at gmail dot com>
0004 #
0005 # SPDX-License-Identifier: BSD-3-Clause
0006 #
0007 #
0008 
0009 SET(EXTPREFIX_libicu "${EXTPREFIX}/local")
0010 
0011 ExternalProject_Add(ext_libicu
0012     DOWNLOAD_DIR ${EXTERNALS_DOWNLOAD_DIR}
0013     URL https://github.com/unicode-org/icu/archive/refs/tags/release-69-1.tar.gz
0014     URL_MD5 135125f633864285d637db5c01e0388b
0015 
0016     CONFIGURE_COMMAND cd <SOURCE_DIR>/icu4c/source &&
0017                       ./configure --prefix ${EXTPREFIX_libicu}
0018                                   --enable-tests=no
0019                                   --enable-samples=no
0020                                   --with-data-packaging=library
0021                                   --disable-renaming
0022 
0023     BUILD_COMMAND cd <SOURCE_DIR>/icu4c/source && $(MAKE)
0024 
0025     INSTALL_COMMAND cd <SOURCE_DIR>/icu4c/source && $(MAKE) install
0026 
0027     UPDATE_COMMAND ""
0028     BUILD_IN_SOURCE 1
0029     ALWAYS 0
0030 )