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
This commit is contained in:
SupervisedThinking 2022-12-14 17:25:47 +01:00
parent 870117dc6a
commit 24ed24a094

View File

@ -9,3 +9,7 @@ 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"