Ticket #89 (new bug report)

Opened 3 years ago

find postgres cmake module does not check default postgres prefix

Reported by: kyngchaos Owned by:
Priority: major Milestone:
Component: pgRouting package Version: 1.0
Keywords: Cc:

Description

FindPostgreSQL.cmake does not check the default prefix of postgres - /usr/local/pgsql. At least, that's the default I've always gotten on OSX without specifying --prefix.

AND, when I try to set POSTGRESQL_INCLUDE_DIR and POSTGRESQL_LIBRARIES in the cmake config command to get around this problem, the values I give it are not used (include error, and nothing in cmakecache.txt), though it tells me it succeeded in finding postgres.

Note: See TracTickets for help on using tickets.