libgeos: update to 3.9.1

This commit is contained in:
Henrik Grimler 2021-02-13 16:21:51 +01:00
parent a5c96bd040
commit 43f44b327a
2 changed files with 2 additions and 37 deletions

View File

@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://geos.osgeo.org/
TERMUX_PKG_DESCRIPTION="Geometry Engine, C++ port of the Java Topology Suite"
TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_MAINTAINER="Henrik Grimler @Grimler91"
TERMUX_PKG_VERSION=3.8.0
TERMUX_PKG_VERSION=3.9.1
TERMUX_PKG_SRCURL=https://github.com/libgeos/geos/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=f8b260151fc8aa6bdf5c74550ea089eeb85d8623bb7ccaf9380e90c815c4d12b
TERMUX_PKG_SHA256=e9e20e83572645ac2af0af523b40a404627ce74b3ec99727754391cdf5b23645
TERMUX_PKG_DEPENDS="libc++"
TERMUX_PKG_BREAKS="libgeos-dev"
TERMUX_PKG_REPLACES="libgeos-dev"

View File

@ -1,35 +0,0 @@
commit fbb180464035f2dd573cbbe3aa722d5dec159ea2
Author: Mike Taves <mwtoews@gmail.com>
Date: Sat Nov 30 20:39:26 2019 +1300
Fix CMake build without tests
Fixes #1006
diff --git a/.gitignore b/.gitignore
index 1d28538b..57712f8b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -70,4 +70,5 @@ authors.git
!/docker/**/Makefile
/.vs*
.idea/
+.project
out/
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 93653818..77c93ed6 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -13,9 +13,11 @@
add_executable(example example.cpp)
target_link_libraries(example PRIVATE geos)
-target_include_directories(test_geos_unit
+if(BUILD_TESTING)
+ target_include_directories(test_geos_unit
PRIVATE
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}>)
+endif()
option(BUILD_DOCUMENTATION "Build Doxygen documentation" OFF)