install: add EXPORT mode to generate pkg-config files
The pkg-config (.pc
) format is one option for #20106, and may enable better integration with non-CMake build systems.
We may be able to generate pkg-config files for CMake packages by extending install(EXPORT)
with a mode to generate .pc
files.