Closed ArthurSonzogni closed 5 years ago
As nlohmann json is hosted on github, I would advice you to use it definitely via the Github dependency retrieval method :
In your .nxxm/deps
file
{
"nlohmann/json" : { "@" : "v3.1.2", "x" : ["benchmarks"] }
}
Dear @ArthurSonzogni,
As discussed on the gitter chat, you could solve this issue with both :
{
"platform" : [ "nlohmann_json::+nlohmann_json" ]
}
and
{
"nlohmann/json" : { "@" : "v3.1.2", "x" : ["benchmarks"] }
}
Therefore I'll close it. The documentation has been updated here : https://github.com/nxxm/nxxm-docs/commit/ebfb4dc9d40390d2e28283b0b97abce5c02f198b
Not sure if this is an issue, but I tried different way to depend on nlohman_json. I started first by what is written in the nxxm doc, then more creative idea:
nlohmann_json
Then
nlohmann-json::nlohmann-json
then:
nlohmann_json::nlohmann_json
then:
nlohman_json::+nlohmann_json
Then