Could not find a package configuration file provided by "nlohmann_json" (requested version 3) with

1. Download the source code from github

git clone https://github.com/nlohmann/json.git

2. Compile and Installation

mkdir build
cd build
cmake ../
make -j2
sudo make install