diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-12-02 15:41:53 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-12-02 15:41:53 +0100 |
| commit | 9488b26ca5b7ea763db4e210b311bcf3f04233ca (patch) | |
| tree | efc6899ca64f3e9eae26c90e3d2790ff4862aa98 /docs/source/resource_files.rst | |
| parent | ebe00831b7d6de3aae01ddd5f3074e53ac6d981e (diff) | |
| download | PROJ-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/resource_files.rst')
| -rw-r--r-- | docs/source/resource_files.rst | 5 |
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 |
