]> 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:09 +0000 (13:51 -0700)
committerAndres Freund <andres@anarazel.de>
Sat, 20 Jul 2024 20:51:09 +0000 (13:51 -0700)
commit13c58ca51883da23e0884dfeedf5e172d5eea80c
treebac9c5980f937f7e3893a9b52089753a7515cb2c
parent793a5bebebbedd925311ba95cb77e3fb9b704200
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