aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolai Grodzitski <utromvecherom@gmail.com>2018-08-12 08:44:55 +0300
committerRobert Schumacher <roschuma@microsoft.com>2018-08-11 22:44:55 -0700
commit9311a57de388a37810016bb78feca727b6c895f1 (patch)
treebb3968af1492315e9987ec6dd89c63bcfa05191e
parent393ac2880a72d10cac1e1f19e7787c2eb9573abe (diff)
downloadvcpkg-9311a57de388a37810016bb78feca727b6c895f1.tar.gz
vcpkg-9311a57de388a37810016bb78feca727b6c895f1.zip
Update json_dto library to 0.2.6. (#4059)
* Update json_dto library to 0.2.6. * [json-dto] Inline version
-rw-r--r--ports/json-dto/CONTROL2
-rw-r--r--ports/json-dto/portfile.cmake15
2 files changed, 6 insertions, 11 deletions
diff --git a/ports/json-dto/CONTROL b/ports/json-dto/CONTROL
index 2f8c57b00..2e9197c2f 100644
--- a/ports/json-dto/CONTROL
+++ b/ports/json-dto/CONTROL
@@ -1,4 +1,4 @@
Source: json-dto
-Version: 0.2.5
+Version: 0.2.6
Description: A small header-only library for converting data between json representation and c++ structs.
Build-Depends: rapidjson
diff --git a/ports/json-dto/portfile.cmake b/ports/json-dto/portfile.cmake
index 037ce7f96..ca228cfda 100644
--- a/ports/json-dto/portfile.cmake
+++ b/ports/json-dto/portfile.cmake
@@ -1,17 +1,12 @@
include(vcpkg_common_functions)
-set(JSON_DTO_VERSION 0.2.5)
-
-set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/json_dto-${JSON_DTO_VERSION}-vcpkg)
-
-vcpkg_download_distfile(ARCHIVE
- URLS "https://bitbucket.org/sobjectizerteam/json_dto-0.2/downloads/json_dto-${JSON_DTO_VERSION}-vcpkg.zip"
- FILENAME "json_dto-${JSON_DTO_VERSION}-vcpkg.zip"
- SHA512 cc21f2abc2799cb9f1c95ae3ae3512869e33d7d0b79c3e05e71d6f0a4376dcf948d89a4d71fe4266efa9d84c19c8a4b8ca2bc8d3d8c217df9ba4e6b87e50c33e
+vcpkg_from_bitbucket(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO sobjectizerteam/json_dto-0.2
+ REF v.0.2.6
+ SHA512 f6562b6177c941a9b898013eacb4bd78f2b8d460a82b773824bf51e106a92c27c52dca4ab6dd07a2d5e063ca3442a20c27dfd80bdcd78207e65f328b95972890
)
-vcpkg_extract_source_archive(${ARCHIVE})
-
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}/dev
PREFER_NINJA # Disable this option if project cannot be built with Ninja