[influxdb-cxx] Fix build error, fix usage (#21813)

* [influxdb-cxx] Fix build error, fix usage

* version
This commit is contained in:
Jack·Boos·Yu 2021-12-03 11:54:47 +08:00 committed by GitHub
parent 740e831977
commit f87d135cf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 21 additions and 2 deletions

View File

@ -0,0 +1,12 @@
diff --git a/src/Point.cxx b/src/Point.cxx
index 8f7fc10..95b119e 100644
--- a/src/Point.cxx
+++ b/src/Point.cxx
@@ -30,6 +30,7 @@
#include <memory>
#include <sstream>
#include <iomanip>
+#include <string_view>
namespace influxdb
{

View File

@ -4,6 +4,7 @@ vcpkg_from_github(
REF v0.6.7
SHA512 4e871c6d06c94b24b45aeedb7c74c75aed17332fbde76fc1e6c2ad06aeb41e268a95f4cab1c12c4402765c11811feb84bf48d60b138717c485327848782e402c
HEAD_REF master
PATCHES include-stringview.patch
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
@ -23,6 +24,6 @@ vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake)
vcpkg_cmake_config_fixup(PACKAGE_NAME InfluxDB CONFIG_PATH lib/cmake/InfluxDB)
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,6 +1,7 @@
{
"name": "influxdb-cxx",
"version": "0.6.7",
"port-version": 1,
"description": "InfluxDB C++ client library",
"homepage": "https://github.com/offa/influxdb-cxx",
"dependencies": [

View File

@ -2862,7 +2862,7 @@
},
"influxdb-cxx": {
"baseline": "0.6.7",
"port-version": 0
"port-version": 1
},
"infoware": {
"baseline": "2021-06-16",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "9403a6547a2dbd42b86d686c2ecd7a3e7344f13a",
"version": "0.6.7",
"port-version": 1
},
{
"git-tree": "ddcc844c034b136efc1bd9946e37fb98617acd88",
"version": "0.6.7",