Welcome to mirror list, hosted at ThFree Co, Russian Federation.

fmt.cmake « cmake « build_environment « build_files - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 74cb9e0c8ade9bcc1e1996e649d0c5da4e6c053c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# SPDX-License-Identifier: GPL-2.0-or-later

set(FMT_EXTRA_ARGS
  -DFMT_TEST=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
)