From 72657582cff173ce285611f32716110cc0ada989 Mon Sep 17 00:00:00 2001 From: Gregor Jasny Date: Thu, 13 Jun 2019 01:52:52 +0200 Subject: [PATCH] [prometheus-cpp] Update to version 0.7.0 (#6822) * [prometheus-cpp] Update to version 0.7.0 * [prometheus-cpp] add a testing feature --- ports/prometheus-cpp/CONTROL | 6 +++++- ports/prometheus-cpp/portfile.cmake | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ports/prometheus-cpp/CONTROL b/ports/prometheus-cpp/CONTROL index e89b84cb2..341af0e8c 100644 --- a/ports/prometheus-cpp/CONTROL +++ b/ports/prometheus-cpp/CONTROL @@ -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 diff --git a/ports/prometheus-cpp/portfile.cmake b/ports/prometheus-cpp/portfile.cmake index 388623d48..20f58c8a2 100644 --- a/ports/prometheus-cpp/portfile.cmake +++ b/ports/prometheus-cpp/portfile.cmake @@ -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} )