Skip to content
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

Do not install nlohmann json if it is not embedded #177

Merged
merged 1 commit into from
Nov 25, 2020

Conversation

matusnovak
Copy link
Contributor

This fixes #175

The problem is that the nlohmann/json.hpp is included in the install directory even if the INJA_USE_EMBEDDED_JSON is set to OFF.

If nlohmann/json.hpp comes from another place (for example, a different version than the one in the thid_party folder), then you probably do not want to copy the embedded one it into the install directory.

This PR fixes that.

@pantor pantor merged commit a57b745 into pantor:master Nov 25, 2020
@pantor
Copy link
Owner

pantor commented Nov 25, 2020

Looks good to me. Thanks so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

v3.1.0 introduces regression in which nlohman_json is always included with install target
2 participants