-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Description
dear @nlohmann and other developers
first of all many thx for this awesome lib. The usage and simplicity is very cool and I and some former coworkers use it on many places in production and private projects.
So my question: is it on purpose that cmake exposes the json.hpp for include directly?
after all a cmake install installes the file into nlohmann/json.hpp and the usage is also
inside the namespace nlohmann?
so for the sake of consistancy in bigger projects and also to avoid name collisions with other libraries in package managers, it might be better to atleast for cmake install to expose the the include to nlohmann/json.jpp and users of package managers could easaly disdinguish between nlohmann_json, jsoncpp, and so on.
The cause of my request is, that I wanted to update the cmake/hunter package which was still on V1.0.0rc. and integrating nlohman_json with the current CMakeLists.txt would cause an inconsistency with the package name, the include and the namespace the user has to see.