-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add documentation for integration with CMake and hunter #671
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't want to have a too long explanation for all the different package managers. The description should be written so that people already familiar with the package managers know what to do.
README.md
Outdated
[...] | ||
hunter_add_package(nlohmann_json) | ||
find_package(nlohmann_json CONFIG REQUIRED) | ||
target_link_libraries(... nlohmann_json) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is quite verbose. Is it possible to describe this shorter as it is done for Meson, Conan, or Homebrew?
Ohh ok. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Thanks a lot! |
here you go, as requested. I added again the
LANGUAGES CXX
and also added the documenation about using it with CMake and CMake with hunter.Hunter just released his latest version with supporting the version v2.1.1 of
nlohman_json
👍