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

cmake: Generate and install a pkg-config file #1701

Closed
wants to merge 1 commit into from

Conversation

palmer-dabbelt
Copy link
Contributor

I'm trying to build mtxclient, which expects a nlohmann_json pkg-config
file to exist in the system. The meson builds install a pkg-config
file, but the cmake builds don't. This adds a pkg-config file to the
cmake builds that is functionally equivalent to the one generated from
meson.

Signed-off-by: Palmer Dabbelt [email protected]

I'm trying to build mtxclient, which expects a nlohmann_json pkg-config
file to exist in the system.  The meson builds install a pkg-config
file, but the cmake builds don't.  This adds a pkg-config file to the
cmake builds that is functionally equivalent to the one generated from
meson.

Signed-off-by: Palmer Dabbelt <[email protected]>
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling b8b189d on palmer-dabbelt:cmake-pc into a015b78 on nlohmann:develop.

@palmer-dabbelt
Copy link
Contributor Author

@nlohmann is this the right place to send pull requests of this sort?

@nlohmann
Copy link
Owner

nlohmann commented Sep 2, 2019

Thanks for the PR! The code looks good, but could you please also add a note to the README how to use the library with pkgconfig?

@stale
Copy link

stale bot commented Oct 2, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the state: stale the issue has not been updated in a while and will be closed automatically soon unless it is updated label Oct 2, 2019
@stale stale bot closed this Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: stale the issue has not been updated in a while and will be closed automatically soon unless it is updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants