mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
[libkml] patch to allow build on cmake 4 (#47357)
Co-authored-by: Tiago Freitas <tiago.freitas@efacec.com>
This commit is contained in:
8
ports/libkml/fix-cmake-min-version.patch
Normal file
8
ports/libkml/fix-cmake-min-version.patch
Normal file
@@ -0,0 +1,8 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 028f50a..bb63ffb 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,2 +1,2 @@ cmake_minimum_required(VERSION 2.8)
|
||||
-cmake_minimum_required(VERSION 2.8)
|
||||
+cmake_minimum_required(VERSION 3.5)
|
||||
project(LibKML)
|
||||
@@ -9,6 +9,7 @@ vcpkg_from_github(
|
||||
SHA512 aa48158103d3af764bf98c1fb4cf3e1356b9cc6c8e79d80b96850916f0a8ccb1dac3a46427735dd0bf20647daa047d10e722ac3da2a214d4c1559bf6d5d7c853
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
fix-cmake-min-version.patch
|
||||
patch_empty_literal_on_vc.patch
|
||||
fix-mingw.patch
|
||||
fix-minizip.patch
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "libkml",
|
||||
"version": "1.3.0",
|
||||
"port-version": 13,
|
||||
"port-version": 14,
|
||||
"description": "Reference implementation of OGC KML 2.2",
|
||||
"homepage": "https://github.com/libkml/libkml",
|
||||
"license": "BSD-3-Clause",
|
||||
|
||||
@@ -4982,7 +4982,7 @@
|
||||
},
|
||||
"libkml": {
|
||||
"baseline": "1.3.0",
|
||||
"port-version": 13
|
||||
"port-version": 14
|
||||
},
|
||||
"liblas": {
|
||||
"baseline": "1.8.1",
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "36c36ef06ecd41819ab32ca2df9df39a577c256a",
|
||||
"version": "1.3.0",
|
||||
"port-version": 14
|
||||
},
|
||||
{
|
||||
"git-tree": "010ce552eaee999aaf220936eb3e46b5bb88a9fc",
|
||||
"version": "1.3.0",
|
||||
|
||||
Reference in New Issue
Block a user