Lakka-LibreELEC/packages/textproc/nlohmann-json/package.mk
SupervisedThinking 24ed24a094 nlohmann-json: use cmake toolchain
- the meson build is rather incomplete & not all packages were satisfied by a pkgconfig file which it provides, those looking for cmake config files e.g by calling `find_package(nlohmann_json 3.8 REQUIRED)` will fail
2022-12-14 17:26:00 +01:00

16 lines
578 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="nlohmann-json"
PKG_VERSION="3.11.2"
PKG_SHA256="d69f9deb6a75e2580465c6c4c5111b89c4dc2fa94e3a85fcd2ffcd9a143d9273"
PKG_LICENSE="MIT"
PKG_SITE="https://nlohmann.github.io/json/"
PKG_URL="https://github.com/nlohmann/json/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="JSON for Modern C++"
# Meson does not provide nlohmann_json*.cmake files which some projects rely on
PKG_TOOLCHAIN="cmake"
PKG_CMAKE_OPTS_TARGET="-DJSON_BuildTests=OFF"