Skip to content

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