[PROJ] Custom PROJ_DATA_PATH Output Directory

Even Rouault even.rouault at spatialys.com
Tue Dec 3 08:48:13 PST 2024


>
> /CMakeLists.txt
> set(PROJ_DATA_PATH "${CMAKE_INSTALL_FULL_DATADIR}/proj")
> to
> set(PROJ_DATA_PATH "${CMAKE_INSTALL_FULL_DATADIR}/somethingElse")
>
> Is there a better way to do this? Or could we add a new cmake 
> parameter to override either the end piece or the whole thing if it's 
> set? Call it PROJ_DATA_OUTPUT_PATH or PROJ_DATA_PATH_OVERRIDE?

Make PROJ_DATA_PATH a CACHE variable with a default value to 
"${CMAKE_INSTALL_FULL_DATADIR}/proj"

-- 
http://www.spatialys.com
My software is free, but my time generally not.
Butcher of all kinds of standards, open or closed formats. At the end, this is just about bytes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20241203/179d4fb0/attachment.htm>


More information about the PROJ mailing list