]> git.ipfire.org Git - thirdparty/postgresql.git/commit
meson: Add dependency lookups via names used by cmake
authorAndres Freund <andres@anarazel.de>
Sat, 20 Jul 2024 20:51:08 +0000 (13:51 -0700)
committerAndres Freund <andres@anarazel.de>
Sat, 20 Jul 2024 20:51:08 +0000 (13:51 -0700)
commit9ac6995d6b1f11eefbf69b61bc4378b814d46dec
treea3ed9b670a359f3e742e0b717a392fbdc7389fae
parent1213875b3a994bcede9c302ac85745e709afdfab
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 <tristan@partin.io>
Discussion: https://postgr.es/m/20240709065101.xhc74r3mdg2lmn4w@awork3.anarazel.de
Backpatch: 16-, where meson support was added
meson.build