[Tile-serving] [openstreetmap/osm2pgsql] fix finding PostgreSQL from yum.postgresql.org with newer CMake versions (#667)

Rolf Eike Beer notifications at github.com
Thu Dec 29 11:46:20 UTC 2016


This will break on newer CMake versions (>=3.3) since PostgreSQL_ADDITIONAL_SEARCH_PATHS is not honored there anymore. Use CMAKE_PREFIX_PATH instead, which is the generic solution that works with all versions of CMake.

Tested on CentOS 7 with CMake 2.8.12.2 and 3.7.1.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/667

-- Commit Summary --

  * fix finding PostgreSQL from yum.postgresql.org with newer CMake versions

-- File Changes --

    M CMakeLists.txt (2)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/667.patch
https://github.com/openstreetmap/osm2pgsql/pull/667.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/667
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20161229/b41499c4/attachment.html>


More information about the Tile-serving mailing list