[libspatialindex] mingw support (#25882)

This commit is contained in:
Matthias Kuhn 2022-07-25 23:40:29 +02:00 committed by GitHub
parent 4ad8fc2a83
commit 4b03e5c3d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff --color -ur a/src/CMakeLists.txt b/src/CMakeLists.txt
--- a/src/CMakeLists.txt 2022-07-19 15:21:35.950966519 +0200
+++ b/src/CMakeLists.txt 2022-07-19 15:21:50.251002371 +0200
@@ -208,7 +208,7 @@
PROPERTIES VERSION "${SIDX_LIB_VERSION}"
SOVERSION "${SIDX_LIB_SOVERSION}" )
-if(WIN32)
+if(MSVC)
target_compile_options(${SIDX_LIB_NAME} PRIVATE "/wd4068")
target_compile_options(${SIDX_C_LIB_NAME} PRIVATE "/wd4068")

View File

@ -6,6 +6,7 @@ vcpkg_from_github(
HEAD_REF master
PATCHES
static.patch
mingw.patch
)
vcpkg_configure_cmake(

View File

@ -1,6 +1,7 @@
{
"name": "libspatialindex",
"version": "1.9.3",
"port-version": 1,
"description": "C++ implementation of R*-tree, an MVR-tree and a TPR-tree with C API.",
"homepage": "http://libspatialindex.github.com",
"dependencies": [

View File

@ -4090,7 +4090,7 @@
},
"libspatialindex": {
"baseline": "1.9.3",
"port-version": 0
"port-version": 1
},
"libspatialite": {
"baseline": "5.0.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "48179f2e21bb0918129f0f2d02cacb39f88ab347",
"version": "1.9.3",
"port-version": 1
},
{
"git-tree": "2e1fceafc0be5ea8fd1b2961104f46a5e29c9a6c",
"version": "1.9.3",