Update RESTinio to v.0.4.7. (#3884)

This commit is contained in:
Nicolai Grodzitski 2018-07-12 12:33:58 +03:00 committed by Robert Schumacher
parent da9850efc7
commit fbb1396f1b
2 changed files with 7 additions and 9 deletions

View File

@ -1,4 +1,4 @@
Source: restinio
Version: 0.4.6
Version: 0.4.7
Description: A header-only C++14 library that gives you an embedded HTTP/Websocket server targeted primarily for asynchronous processing of HTTP-requests.
Build-Depends: asio, fmt, http-parser

View File

@ -1,16 +1,14 @@
include(vcpkg_common_functions)
set(RESTINIO_VERSION 0.4.6)
set(RESTINIO_VERSION 0.4.7)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/restinio-${RESTINIO_VERSION}-vcpkg)
vcpkg_download_distfile(ARCHIVE
URLS "https://bitbucket.org/sobjectizerteam/restinio-0.4/downloads/restinio-${RESTINIO_VERSION}-vcpkg.zip"
FILENAME "restinio-${RESTINIO_VERSION}-vcpkg.zip"
SHA512 5b0777998617164dd6b7c5944feafdfef8849b79fd6f2a396f381c4f563a862a815837a4085ef7dbb980595774eb4cccd9368c0a2cc5a88b0cb8e8cba864fb92
vcpkg_from_bitbucket(
OUT_SOURCE_PATH SOURCE_PATH
REPO sobjectizerteam/restinio-0.4
REF v.${RESTINIO_VERSION}
SHA512 bc6eebfce9a2fb7faf9af7b14d7c96ec7b28be992681f65701145d5712ae2efe562b964ee7498944a9aa38a53281ed0928c3d6c000c842dbdb87deae1b5ebcad
)
vcpkg_extract_source_archive(${ARCHIVE})
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}/vcpkg
PREFER_NINJA