[pgrouting-dev] Patch for CMakeLists.txt to support more Postgres variants

Hi,

I was trying to compile pgRouting-3.3.1 against EnterpriseDB Postgres (EPAS) on Rocky Linux 8 instance and the build failed with the following error:

CMake Error at CMakeLists.txt:183 (message):
PostgreSQL 9.2.0 or greater is required.

Attached is the patch for CMakeLists.txt to support additional Postgres variants along with community PostgreSQL. If there is a better way to submit the patch (https://docs.pgrouting.org/doxygen/ ?) then do let me know and I’ll be happy to do that.

CMakeLists.patch (1.78 KB)

···

Sandeep Thakkar

Hi

I created a new pull request for the same at https://github.com/pgRouting/pgrouting/pull/2362. Can someone please review it?

···

Sandeep Thakkar