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

add fmt.pc for pkgconfig #916

Merged
merged 1 commit into from
Oct 24, 2018
Merged

add fmt.pc for pkgconfig #916

merged 1 commit into from
Oct 24, 2018

Conversation

colemickens
Copy link
Contributor

This makes fmt easier to use from meson or other tools that use pkgconfig.

fmt.pc Outdated
@@ -0,0 +1,11 @@
prefix=@out@
Copy link

@Mic92 Mic92 Oct 24, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose the maintainers probably also wants to see some sort of build system integration into cmake using configure_file:

https://dailycommit.blogspot.com/2016/10/how-to-generate-pkg-config-file-with.html

@colemickens
Copy link
Contributor Author

Thanks for the review/suggestion @Mic92. I've implemented it. As per NixOS/nixpkgs#48960, this is working end to end for with an application that discovers fmt through meson/pkg-config.

@vitaut vitaut merged commit 9d0c9c4 into fmtlib:master Oct 24, 2018
@vitaut
Copy link
Contributor

vitaut commented Oct 24, 2018

Merged, thanks!

@Mic92
Copy link

Mic92 commented Oct 24, 2018

Wow, this was fast!

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.

3 participants