mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 06:08:03 +08:00
[libkml] explicitly set C++ standard as it uses removed features (#30526)
* [libkml] explicitly set C++ standard as it uses features that were removed in C++17 * ./vcpkg x-add-version --all
This commit is contained in:
parent
4ee9010c4f
commit
5dc2f378a7
@ -28,6 +28,9 @@ vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DCMAKE_POLICY_DEFAULT_CMP0022=NEW
|
||||
# libkml uses std::unary_function that was deprecated in C++11 and removed in C++17
|
||||
# compilers are starting to ship C++17 as the defualt so explicitly set C++11
|
||||
-DCMAKE_CXX_STANDARD=11
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "libkml",
|
||||
"version": "1.3.0",
|
||||
"port-version": 11,
|
||||
"port-version": 12,
|
||||
"description": "Reference implementation of OGC KML 2.2",
|
||||
"homepage": "https://github.com/libkml/libkml",
|
||||
"license": "BSD-3-Clause",
|
||||
|
@ -4106,7 +4106,7 @@
|
||||
},
|
||||
"libkml": {
|
||||
"baseline": "1.3.0",
|
||||
"port-version": 11
|
||||
"port-version": 12
|
||||
},
|
||||
"liblas": {
|
||||
"baseline": "1.8.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "84ea1bd884a5d5afee127b15e73ef5bb7ba638dc",
|
||||
"version": "1.3.0",
|
||||
"port-version": 12
|
||||
},
|
||||
{
|
||||
"git-tree": "4969a3e81df3ef13b5e3f2f94e652311df8bbafe",
|
||||
"version": "1.3.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user