From 74839fba6c511722bda7c77073b21b03af41f564 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Fri, 1 Dec 2023 01:15:04 +0100 Subject: [PATCH] gdal-sys/Readme.md: add hint about setting GDAL_VERSION --- gdal-sys/Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdal-sys/Readme.md b/gdal-sys/Readme.md index 3e87dd5c..a537ce4a 100644 --- a/gdal-sys/Readme.md +++ b/gdal-sys/Readme.md @@ -16,7 +16,7 @@ Contains: The build script should work an Linux and Windows systems. It can be configured with a couple of environment variables: -* if `GDAL_INCLUDE_DIR` or `GDAL_LIB_DIR` are defined, they will be used +* if `GDAL_INCLUDE_DIR` or `GDAL_LIB_DIR` are defined, they will be used. You should also set `GDAL_VERSION` to ``X.Y.Z`` * otherwise, if `GDAL_HOME` is defined, the build script looks for `GDAL_HOME/include`, `GDAL_HOME/lib` and `GDAL_HOME/bin` * finally, `pkg-config` is queried to determine the `GDAL` location * you can define `GDAL_STATIC` to link `GDAL` statically