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

Improve libmsh3.pc #237

Merged
merged 2 commits into from
Dec 19, 2024
Merged

Improve libmsh3.pc #237

merged 2 commits into from
Dec 19, 2024

Conversation

dg0yt
Copy link
Contributor

@dg0yt dg0yt commented Dec 19, 2024

Include dirs are usually based on ${prefix}. In vcpkg, this assumption is wired in automatic pc file fixup: release and debug configurations use different (exec_)prefix, but share one include dir.

In addition, automatically export the proper version. Injecting the version into the CMake project command makes it available in standard CMake variables.

For now, the version is parsed from lib/msh3.def. FTR you might maintain the version directly in project and generate lib/msh3.def instead.

@nibanks nibanks merged commit ba95a15 into nibanks:main Dec 19, 2024
21 checks passed
@dg0yt dg0yt deleted the pkgconfig branch December 19, 2024 20:40
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.

2 participants