Skip to content

Added pkg-config (.pc) file for non-CMake consumers#10

Merged
MrHerrn merged 1 commit intomasterfrom
pkg-config-support
May 5, 2026
Merged

Added pkg-config (.pc) file for non-CMake consumers#10
MrHerrn merged 1 commit intomasterfrom
pkg-config-support

Conversation

@MrHerrn
Copy link
Copy Markdown
Collaborator

@MrHerrn MrHerrn commented May 5, 2026

Summary

  • Generate and install a geo-utils.pc file alongside the existing CMake package config, so non-CMake build systems (Make, Meson, autotools) and distro packagers can consume the library via pkg-config --cflags geo-utils.
  • Gated behind GEO_UTILS_INSTALL_PKGCONFIG (ON by default); installed to ${CMAKE_INSTALL_LIBDIR}/pkgconfig.
  • Header-only — no Libs: field, only Cflags: -I${includedir}.

@MrHerrn MrHerrn requested a review from gistrec May 5, 2026 05:34
@MrHerrn MrHerrn self-assigned this May 5, 2026
@codecov-commenter

This comment was marked as resolved.

@MrHerrn MrHerrn force-pushed the pkg-config-support branch from 3d19176 to fff406d Compare May 5, 2026 05:43
Comment thread cmake/geo-utils.pc.in Outdated
Co-authored-by: Aleksandr Kovalko <gistrec@gmail.com>
@MrHerrn MrHerrn force-pushed the pkg-config-support branch from fff406d to abe0d32 Compare May 5, 2026 17:31
@MrHerrn MrHerrn requested a review from gistrec May 5, 2026 17:38
@MrHerrn MrHerrn merged commit 70e0f49 into master May 5, 2026
8 checks passed
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