This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Description
scripts/helpers/eosio.sh function ensure-libpq-and-libpqxx doesn't work on Ubuntu 18.04
Simplified test case:
#!/bin/sh
curl -L https://github.com/jtv/libpqxx/archive/7.2.1.tar.gz | tar zxf -
cd libpqxx-7.2.1
/usr/bin/cmake -DPostgreSQL_TYPE_INCLUDE_DIR=/usr/include/postgresql -DCMAKE_INSTALL_PREFIX=/local/lib/eosio-2.1/opt/pqxx -DSKIP_BUILD_TEST=ON -DCMAKE_BUILD_TYPE=Release -S . -B build
cmake --version
Results:
18.04 - Fail

20.10 - OK
