odyssey/cmake
Dmitry Dolgov 4a09b5b7e9 Modifications to build on PG12 (#86)
Build seems to fail with PostgreSQL 12 version, due to incompatibility
after [1], and required presence of libpgport (to expose pg_sprintf for
scram implementation).

To improve the situation, introduce couple of changes:

* Rely on pg_config to get lib/include directories
* Add libpgport.a into linking
* Provide different versions of pg_b64_decode/encode depending on
PG_VERSION_NUM

[1]: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=cfc40d384ae51ea2886d599d2008ae57b529e6ea
2019-12-18 14:39:24 +05:00
..
BuildDebian.cmake odissey: add -DBUILD_DEBIAN to support Debian build 2017-08-21 17:23:50 +03:00
BuildKiwi.cmake odyssey: remove shapito library 2018-08-23 16:24:07 +03:00
BuildMachinarium.cmake odyssey: add support for BoringSSL 2018-11-23 17:07:39 +03:00
FindBoringSSL.cmake odyssey: add support for BoringSSL 2018-11-23 17:07:39 +03:00
FindPAM.cmake odyssey: post merge fixes 2019-09-27 16:47:45 +03:00
FindPostgreSQL.cmake Modifications to build on PG12 (#86) 2019-12-18 14:39:24 +05:00