Used Cmake in GEOS installation docs.
This commit is contained in:
parent
2bee0b4328
commit
510c4e465c
|
@ -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
|
$ wget https://download.osgeo.org/geos/geos-X.Y.Z.tar.bz2
|
||||||
$ tar xjf 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
|
Then step into the GEOS directory, create a ``build`` folder, and step into
|
||||||
script, compile, and install::
|
it::
|
||||||
|
|
||||||
$ cd geos-X.Y.Z
|
$ cd geos-X.Y.Z
|
||||||
$ ./configure
|
$ mkdir build
|
||||||
$ make
|
$ cd build
|
||||||
$ sudo make install
|
|
||||||
$ cd ..
|
Then build and install the package::
|
||||||
|
|
||||||
|
$ cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||||
|
$ cmake --build .
|
||||||
|
$ sudo cmake --build . --target install
|
||||||
|
|
||||||
Troubleshooting
|
Troubleshooting
|
||||||
~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~
|
||||||
|
|
Loading…
Reference in New Issue