Files
json/integration/pkg-config/index.md
T
2026-07-08 18:19:46 +00:00

14 lines
433 B
Markdown

# 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](https://json.nlohmann.me/integration/package_managers/#meson) will also be able to use a system-wide library, which will be found by `pkg-config`:
```
json = dependency('nlohmann_json', required: true)
```