[Proj] Proj 4.9.1RC4 -- cmake package name should be PROJ4 not PROJ
charles.karney at sri.com
Tue Mar 3 11:27:40 EST 2015
In integrating 4.9.1RC4 into our build environment, I see that I chose
wrong on the cmake "package name". I picked "PROJ"; however the
existing libgeotiff release does
At the risk of delaying the release by a day or so, I recommend that I
switch to PROJ4 as the cmake name, so that it works seamlessly with the
released version libgeotiff.
Other cmake issues that I plan to fix (or have fixed) on our internal
branch at SRI are:
* append _d to library names and executables for Windows debug
* stop tests from writing log files in the source tree (which may, after
all, be on a read-only partition).
I plan to wait until *after* the release of 4.9.1 before submitting
On 2015-02-21 13:21, Charles Karney wrote:
> Provides support for find_package(PROJ 4.9) as follows
> The name of the package is "PROJ" (uppercase).
> proj-config.cmake gets installed in share/cmake/PROJ (non Windows) or
> cmake (Windows).
> This defines (for example)
> PROJ_FOUND = 1
> PROJ_INCLUDE_DIRS = /usr/local/include
> PROJ_LIBRARIES = proj
> PROJ_LIBRARY_DIRS = /usr/local/lib
> PROJ_BINARY_DIRS = /usr/local/bin
> PROJ_VERSION = 4.9.1
> Here proj is a "target" name which means that it inherits
> dependencies, etc.
> find_package will look under CMAKE_PREFIX_PATH for proj-config.cmake.
More information about the Proj