aboutsummaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-12-02 15:41:53 +0100
committerEven Rouault <even.rouault@spatialys.com>2020-12-02 15:41:53 +0100
commit9488b26ca5b7ea763db4e210b311bcf3f04233ca (patch)
treeefc6899ca64f3e9eae26c90e3d2790ff4862aa98 /docs/source
parentebe00831b7d6de3aae01ddd5f3074e53ac6d981e (diff)
downloadPROJ-9488b26ca5b7ea763db4e210b311bcf3f04233ca.tar.gz
PROJ-9488b26ca5b7ea763db4e210b311bcf3f04233ca.zip
Add build time option to make PROJ_LIB env var tested last (fixes #2399)
If PROJ is built with the PROJ_LIB_ENV_VAR_TRIED_LAST CMake option / --enable-proj-lib-env-var-tried-last configure switch, then the hard-wired path ($prefix/share/proj) will be tried before looking at the environment PROJ_LIB.
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/resource_files.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/source/resource_files.rst b/docs/source/resource_files.rst
index ae3a808d..2ae8824f 100644
--- a/docs/source/resource_files.rst
+++ b/docs/source/resource_files.rst
@@ -60,6 +60,11 @@ The following paths are checked in order:
that since this is a hard-wired path setting, it only works if the whole
PROJ installation is not moved somewhere else.
+ .. note:: if PROJ is built with the PROJ_LIB_ENV_VAR_TRIED_LAST CMake option /
+ --enable-proj-lib-env-var-tried-last configure switch, then this
+ hard-wired path will be tried before looking at the environment
+ variable :envvar:`PROJ_LIB`.
+
- The current directory
When networking capabilities are enabled, either by API with the