mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 13:16:17 +08:00
[libspatialindex] mingw support (#25882)
This commit is contained in:
parent
4ad8fc2a83
commit
4b03e5c3d5
12
ports/libspatialindex/mingw.patch
Normal file
12
ports/libspatialindex/mingw.patch
Normal 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")
|
||||
|
@ -6,6 +6,7 @@ vcpkg_from_github(
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
static.patch
|
||||
mingw.patch
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
|
@ -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": [
|
||||
|
@ -4090,7 +4090,7 @@
|
||||
},
|
||||
"libspatialindex": {
|
||||
"baseline": "1.9.3",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"libspatialite": {
|
||||
"baseline": "5.0.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "48179f2e21bb0918129f0f2d02cacb39f88ab347",
|
||||
"version": "1.9.3",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "2e1fceafc0be5ea8fd1b2961104f46a5e29c9a6c",
|
||||
"version": "1.9.3",
|
||||
|
Loading…
Reference in New Issue
Block a user