]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
1 | # Pkg-config |
2 | ||
3 | If you are using bare Makefiles, you can use `pkg-config` to generate the include flags that point to where the library is installed: | |
4 | ||
5 | ```sh | |
6 | pkg-config nlohmann_json --cflags | |
7 | ``` | |
8 | ||
9 | 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`: | |
10 | ||
11 | ```meson | |
12 | json = dependency('nlohmann_json', required: true) | |
13 | ``` |