Update json_dto library to 0.2.6. (#4059)

* Update json_dto library to 0.2.6.

* [json-dto] Inline version
This commit is contained in:
Nicolai Grodzitski 2018-08-12 08:44:55 +03:00 committed by Robert Schumacher
parent 393ac2880a
commit 9311a57de3
2 changed files with 6 additions and 11 deletions

View File

@ -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

View File

@ -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