aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreao197 <eao197@users.noreply.github.com>2021-10-07 13:30:31 +0300
committerGitHub <noreply@github.com>2021-10-07 03:30:31 -0700
commitd988e4ee209b8ec12b402b8f55afe378267833c3 (patch)
tree214a6dfd87ff039e79dc5cdbe86a6dffc9072488
parent92770f60d0262a2fee7f121d795e60c9dc135855 (diff)
downloadvcpkg-d988e4ee209b8ec12b402b8f55afe378267833c3.tar.gz
vcpkg-d988e4ee209b8ec12b402b8f55afe378267833c3.zip
[json-dto] Update to 0.2.14 (#20570)
* json-dto updated to v.0.2.14. * json-dto-0.2.14 added to baseline. * Change deprecated commands. * Update baseline for fresh json-dto-0.2.14.
-rw-r--r--ports/json-dto/portfile.cmake11
-rw-r--r--ports/json-dto/vcpkg.json12
-rw-r--r--versions/baseline.json2
-rw-r--r--versions/j-/json-dto.json5
4 files changed, 21 insertions, 9 deletions
diff --git a/ports/json-dto/portfile.cmake b/ports/json-dto/portfile.cmake
index dd888973a..feb9e3f65 100644
--- a/ports/json-dto/portfile.cmake
+++ b/ports/json-dto/portfile.cmake
@@ -1,13 +1,12 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO stiffstream/json_dto
- REF 7fce92cd3bdacdcd0b41ed26d2cc981e3f70956e # v.0.2.13
- SHA512 f678545cc60828ab76d6e8532ac9dbf8e4e68d873d0a98f17d62934dd0b3a3e255b38adf838b65a12e0d954edc7866eb6393f6783709f6f7fac29167886e7bf3
+ REF ea2786711187d6301df9d5a2deb6974f05c5ef44 # v.0.2.14
+ SHA512 6c8a664148e65e347cd793f4f03be4d01612691cc4a69a4f84b906e582ea50a42db606c04e33cedb431f4ac45bf112460f109ab581ff2f34e97c2257534b9b40
)
-vcpkg_configure_cmake(
+vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}/dev
- PREFER_NINJA # Disable this option if project cannot be built with Ninja
OPTIONS
-DJSON_DTO_INSTALL=ON
-DJSON_DTO_TEST=OFF
@@ -15,9 +14,9 @@ vcpkg_configure_cmake(
-DJSON_DTO_INSTALL_SAMPLES=OFF
)
-vcpkg_install_cmake()
+vcpkg_cmake_install()
-vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/json-dto)
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/json-dto)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib ${CURRENT_PACKAGES_DIR}/debug)
diff --git a/ports/json-dto/vcpkg.json b/ports/json-dto/vcpkg.json
index 8681bd20f..41106704e 100644
--- a/ports/json-dto/vcpkg.json
+++ b/ports/json-dto/vcpkg.json
@@ -1,10 +1,18 @@
{
"name": "json-dto",
- "version": "0.2.13",
+ "version": "0.2.14",
"description": "A small header-only library for converting data between json representation and c++ structs.",
"homepage": "https://github.com/Stiffstream/json_dto",
"license": "BSD-3-Clause",
"dependencies": [
- "rapidjson"
+ "rapidjson",
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
]
}
diff --git a/versions/baseline.json b/versions/baseline.json
index 7ba4b2537..d6abcd445 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -2913,7 +2913,7 @@
"port-version": 2
},
"json-dto": {
- "baseline": "0.2.13",
+ "baseline": "0.2.14",
"port-version": 0
},
"json-schema-validator": {
diff --git a/versions/j-/json-dto.json b/versions/j-/json-dto.json
index d04ece23d..a265dae54 100644
--- a/versions/j-/json-dto.json
+++ b/versions/j-/json-dto.json
@@ -1,6 +1,11 @@
{
"versions": [
{
+ "git-tree": "171dd3158b291f899517b1bab85f4c76c95a4d56",
+ "version": "0.2.14",
+ "port-version": 0
+ },
+ {
"git-tree": "a4576b8566a843cf16e9a38143d1a99ae832d130",
"version": "0.2.13",
"port-version": 0