1
0
mirror of https://github.com/nlohmann/json synced 2024-12-25 01:51:06 +00:00
nlohmannjson/cmake
Chuck Atkins 33a2154f8d Enable target namespaces and build dir project config
CMake convention is to use a project namespace, i.e. Foo::, for imported
targets.  When multiple targets are imported from a project, this looks
like Foo::Bar1 Foo::Bar2, etc.  This adds the nlohmann_json:: namespace to
the exported target names.

This also allows the generated project config files to be used from the
build directory instead of just the install directory.
2018-04-10 09:08:38 -04:00
..
config.cmake.in Enable target namespaces and build dir project config 2018-04-10 09:08:38 -04:00