7a395e2e7f
The last good commit wasf57e4c5b98. After this one more fix was committed, this one is preserved as well:67bd678887.
18 lines
440 B
CMake
18 lines
440 B
CMake
# SPDX-FileCopyrightText: 2022 Blender Authors
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
set(FMT_EXTRA_ARGS
|
|
-DFMT_TEST=OFF
|
|
-DFMT_DOC=OFF
|
|
)
|
|
|
|
ExternalProject_Add(external_fmt
|
|
URL file://${PACKAGE_DIR}/${FMT_FILE}
|
|
DOWNLOAD_DIR ${DOWNLOAD_DIR}
|
|
URL_HASH ${FMT_HASH_TYPE}=${FMT_HASH}
|
|
PREFIX ${BUILD_DIR}/fmt
|
|
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${LIBDIR}/fmt ${DEFAULT_CMAKE_FLAGS} ${FMT_EXTRA_ARGS}
|
|
INSTALL_DIR ${LIBDIR}/fmt
|
|
)
|