meson: Add dependency lookups via names used by cmake

Particularly on windows it's useful to look up dependencies via cmake, instead
of pkg-config. Meson supports doing so. Unfortunately the dependency names
used by various projects often differs between their pkg-config and cmake
files.

This would look a lot neater if we could rely on meson >= 0.60.0...

Reviewed-by: Tristan Partin <[email protected]>
Discussion: 
https://postgr.es/m/[email protected]
Backpatch: 16-, where meson support was added

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5ec2c529f5537a5f5d5c929c49a5a2af2e4feda7

Modified Files
--------------
meson.build | 46 ++++++++++++++++++++++++++++++++++++++++------
1 file changed, 40 insertions(+), 6 deletions(-)

Reply via email to