mirror of
https://github.com/nlohmann/json.git
synced 2025-06-16 21:00:50 +08:00

* 🔥 consolidate documentation * ♻️ overwork std specializations * 🚚 move images files to mkdocs * ♻️ fix URLs * 🔧 tweak MkDocs configuration * 🔧 add namespaces * 📝 document deprecations * 📝 document documentation generation * 🚸 improve search * 🚸 add examples * 🚧 start adding documentation for macros * 📝 add note for https://github.com/nlohmann/json/issues/874#issuecomment-1001699139 * 📝 overwork example handling * 📝 fix Markdown tables
14 lines
405 B
Markdown
14 lines
405 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:
|
|
|
|
```sh
|
|
pkg-config nlohmann_json --cflags
|
|
```
|
|
|
|
Users of the [Meson build system](package_managers.md#meson) will also be able to use a system-wide library, which will be found by `pkg-config`:
|
|
|
|
```meson
|
|
json = dependency('nlohmann_json', required: true)
|
|
```
|