json/doc/mkdocs/docs/integration/pkg-config.md
Niels Lohmann be17f1d366
✏️ fix typos
2021-11-04 20:39:47 +01:00

405 B

Pkg-config

If you are using bare Makefiles, you can use pkg-config to generate the include flags that point to where the library is installed:

pkg-config nlohmann_json --cflags

Users of the Meson build system will also be able to use a system-wide library, which will be found by pkg-config:

json = dependency('nlohmann_json', required: true)