[mapserver-users] MapServer 6.4 Released

andy andy at squeakycode.net
Tue Sep 17 12:19:25 PDT 2013


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 <andy at squeakycode.net> wrote:
>> On 9/17/2013 2:05 PM, thomas bonfort wrote:
>>>
>>> On Tue, Sep 17, 2013 at 8:48 PM, andy <andy at squeakycode.net> 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



More information about the MapServer-users mailing list