pgsql: meson: Add dependency lookups via names used by cmake - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: meson: Add dependency lookups via names used by cmake
Date
Msg-id E1sVH7E-000S7p-35@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9ac6995d6b1f11eefbf69b61bc4378b814d46dec

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


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: meson: Add support for detecting gss without pkg-config
Next
From: Michael Paquier
Date:
Subject: pgsql: Add new error code for "file name too long"