On 9/17/2013 2:11 PM, thomas bonfort wrote:
nope, it just searches for libpq-fe.h and libpq.so, c.f.
https://github.com/mapserver/mapserver/blob/master/cmake/FindPostgreSQL.cmake


On Tue, Sep 17, 2013 at 9:07 PM, andy <[email protected]> wrote:
On 9/17/2013 2:05 PM, thomas bonfort wrote:

On Tue, Sep 17, 2013 at 8:48 PM, andy <[email protected]> wrote:

cmake -DCMAKE_PREFIX_PATH="/usr/local/pg93


have you tried with cmake -DCMAKE_PREFIX_PATH=/usr/local/pg93 ?


Nope, that one I missed.  But that one makes it work.  pg_config is in my
path, doesn't cmake check it?

Thank you!

-Andy

After googleing a little I found this:

https://github.com/mloskot/cmake-modules/blob/master/modules/FindPostgreSQL.cmake

That seems pretty close, how'd you feel about using pg_config?

-Andy
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to