[prometheus-cpp] Update to version 0.7.0 (#6822)

* [prometheus-cpp] Update to version 0.7.0

* [prometheus-cpp] add a testing feature
This commit is contained in:
Gregor Jasny 2019-06-13 01:52:52 +02:00 committed by dan-shaw
parent 3860c11da2
commit 72657582cf
2 changed files with 8 additions and 4 deletions

View File

@ -1,5 +1,5 @@
Source: prometheus-cpp
Version: 0.6.0
Version: 0.7.0
Description: Prometheus Client Library for Modern C++
Default-Features: compression, pull
@ -7,6 +7,10 @@ Feature: compression
Build-Depends: zlib
Description: Enable zlib compression
Feature: tests
Build-Depends: gtest
Description: Additional testing support
Feature: pull
Build-Depends: civetweb
Description: Support for regular pull mode

View File

@ -5,8 +5,8 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO jupp0r/prometheus-cpp
REF v0.6.0
SHA512 a7e6f902f3007007ec68add5ac63e833c6f383ed0ce103e238b7248497f495e664446df7801000e36021adcb7cfb1d461bbb45e1b4fba9ffa4edfcaf5b5957dd
REF v0.7.0
SHA512 ff946585e24d84596e851f838b42566512fe368f164254d309b2aa3bda770c5442b6eeb880055351f89e0e2d0b581fddb5b0e70dd5b2a15370e508c4aabbcb1c
HEAD_REF master
)
@ -21,13 +21,13 @@ endmacro()
feature(compression ENABLE_COMPRESSION)
feature(pull ENABLE_PULL)
feature(push ENABLE_PUSH)
feature(tests ENABLE_TESTING)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DUSE_THIRDPARTY_LIBRARIES=OFF # use vcpkg packages
-DENABLE_TESTING=FALSE # need gtest 1.8.1
${FEATURE_OPTIONS}
)