-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
meson: fix include directory #1142
Conversation
Thanks! While I'm thinking about it, could you add the support for the multiple header version as well? |
Done. Also, I maybe should have skipped CI. |
Sorry, I messed up the AppVeyor build. I'll let you know once I fixed it. |
I fixed AppVeyor - @jrakow could you please update your PR to the latest |
Rebased. |
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! |
@jrakow I am currently overworking the documentation. Thereby, I wanted to provide examples on how to use the different package managers. Unfortunately, I fail to use meson. The documentation
is very tense. As you recently propose a change to the |
Currently Meson exports
single_include/nlohmann
as include directory.The compiler flag
-I…/nlohmann_json/single_include/nlohmann
is generated.According to the documentation, this is how you should include it:
This does not work currently, but
#include <json.hpp>
does.The correct flag directory is
-I…/nlohmann_json/single_include
and this commit fixes the Meson file.