[Proj] 4.9.1RC1 Released

Howard Butler howard at hobu.co
Sat Feb 21 07:18:02 PST 2015


> On Feb 21, 2015, at 5:06 AM, Even Rouault <even.rouault at spatialys.com> wrote:
> 
> 
> With CMake build, I noticed that proj cannot find automatically the grid files. 
> You have to manaully define the PROJ_LIB environment variable to point to the 
> $PREFIX/share/proj directory. autoconf builds have the following magic in 
> src/Makefile.am that sets the PROJ_LIB macro to $(pkgdatadir) so that 
> src/pj_open_lib.c has a default hardcoded path.
> 
> {{{
> INCLUDES =      -DPROJ_LIB=\"$(pkgdatadir)\" \
>                -DMUTEX_ at MUTEX_SETTING@ @JNI_INCLUDE@
> }}}
> 
> Not sure how to do that with CMake...
> 

Patch applied in r2626 to implement this

https://trac.osgeo.org/proj/ticket/260

Howard


More information about the Proj mailing list