Skip to content

Commit 510c4e4

Browse files
smithdc1felixxm
authored andcommitted
Used Cmake in GEOS installation docs.
1 parent 2bee0b4 commit 510c4e4

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

docs/ref/contrib/gis/install/geolibs.txt

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,18 @@ First, download GEOS from the GEOS website and untar the source archive::
102102
$ wget https://download.osgeo.org/geos/geos-X.Y.Z.tar.bz2
103103
$ tar xjf geos-X.Y.Z.tar.bz2
104104

105-
Next, change into the directory where GEOS was unpacked, run the configure
106-
script, compile, and install::
105+
Then step into the GEOS directory, create a ``build`` folder, and step into
106+
it::
107107

108108
$ cd geos-X.Y.Z
109-
$ ./configure
110-
$ make
111-
$ sudo make install
112-
$ cd ..
109+
$ mkdir build
110+
$ cd build
111+
112+
Then build and install the package::
113+
114+
$ cmake -DCMAKE_BUILD_TYPE=Release ..
115+
$ cmake --build .
116+
$ sudo cmake --build . --target install
113117

114118
Troubleshooting
115119
~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)