mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-22 01:06:30 +00:00
23 lines
911 B
Makefile
23 lines
911 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="libfmt"
|
|
PKG_VERSION="9.1.0"
|
|
PKG_SHA256="5dea48d1fcddc3ec571ce2058e13910a0d4a6bab4cc09a809d8b1dd1c88ae6f2"
|
|
PKG_LICENSE="BSD"
|
|
PKG_SITE="https://github.com/fmtlib/fmt"
|
|
PKG_URL="https://github.com/fmtlib/fmt/archive/${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_LONGDESC="fmt is an open-source formatting library for C++. It can be used as a safe alternative to printf or as a fast alternative to IOStreams."
|
|
|
|
PKG_CMAKE_OPTS_TARGET="-DCMAKE_CXX_STANDARD=14 \
|
|
-DCMAKE_CXX_EXTENSIONS:BOOL=OFF \
|
|
-DFMT_DOC=OFF \
|
|
-DFMT_INSTALL=ON \
|
|
-DFMT_TEST=OFF \
|
|
-DBUILD_SHARED_LIBS=ON"
|
|
|
|
if [ "${DISTRO}" = "Lakka" ]; then
|
|
PKG_CMAKE_OPTS_TARGET+=" -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE"
|
|
fi
|