summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2022-03-25 11:48:43 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-03-25 11:56:22 +0100
commit510c4e465cc9ddc78c3717463bce39fb674fb94f (patch)
tree23db677b4cc66bef8cdee6bbe79089fda3e15a22 /docs
parent2bee0b4328319eaf6a0d1686677d629f2ecf6dec (diff)
Used Cmake in GEOS installation docs.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/gis/install/geolibs.txt16
1 files changed, 10 insertions, 6 deletions
diff --git a/docs/ref/contrib/gis/install/geolibs.txt b/docs/ref/contrib/gis/install/geolibs.txt
index 0f70510bb2..7df6f6fb54 100644
--- a/docs/ref/contrib/gis/install/geolibs.txt
+++ b/docs/ref/contrib/gis/install/geolibs.txt
@@ -102,14 +102,18 @@ First, download GEOS from the GEOS website and untar the source archive::
$ wget https://download.osgeo.org/geos/geos-X.Y.Z.tar.bz2
$ tar xjf geos-X.Y.Z.tar.bz2
-Next, change into the directory where GEOS was unpacked, run the configure
-script, compile, and install::
+Then step into the GEOS directory, create a ``build`` folder, and step into
+it::
$ cd geos-X.Y.Z
- $ ./configure
- $ make
- $ sudo make install
- $ cd ..
+ $ mkdir build
+ $ cd build
+
+Then build and install the package::
+
+ $ cmake -DCMAKE_BUILD_TYPE=Release ..
+ $ cmake --build .
+ $ sudo cmake --build . --target install
Troubleshooting
~~~~~~~~~~~~~~~