mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 09:08:59 +08:00
* Fix #30491 * Upgrade version * Use options and host dependency
This commit is contained in:
parent
6ba86f3584
commit
54ee9fb002
@ -39,6 +39,7 @@ if(WITH_OTLP)
|
||||
# Create empty .git directory to prevent opentelemetry from cloning it during build time
|
||||
file(MAKE_DIRECTORY "${SOURCE_PATH}/third_party/opentelemetry-proto/.git")
|
||||
list(APPEND FEATURE_OPTIONS -DCMAKE_CXX_STANDARD=14)
|
||||
list(APPEND FEATURE_OPTIONS -DgRPC_CPP_PLUGIN_EXECUTABLE=${CURRENT_HOST_INSTALLED_DIR}/tools/grpc/grpc_cpp_plugin${VCPKG_HOST_EXECUTABLE_SUFFIX})
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
|
@ -2,7 +2,7 @@
|
||||
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
|
||||
"name": "opentelemetry-cpp",
|
||||
"version-semver": "1.8.3",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": [
|
||||
"OpenTelemetry is a collection of tools, APIs, and SDKs.",
|
||||
"You use it to instrument, generate, collect, and export telemetry data (metrics, logs, and traces) for analysis in order to understand your software's performance and behavior."
|
||||
@ -39,6 +39,10 @@
|
||||
"description": "Whether to include the OpenTelemetry Protocol in the SDK",
|
||||
"dependencies": [
|
||||
"grpc",
|
||||
{
|
||||
"name": "grpc",
|
||||
"host": true
|
||||
},
|
||||
"protobuf"
|
||||
]
|
||||
},
|
||||
|
@ -5870,7 +5870,7 @@
|
||||
},
|
||||
"opentelemetry-cpp": {
|
||||
"baseline": "1.8.3",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"opentracing": {
|
||||
"baseline": "1.6.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "152ee0a0f79c1fc26d81291c9d1eb0417f9deeeb",
|
||||
"version-semver": "1.8.3",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "3777014ad8e4997a8c0afbbc7f37ff949497059c",
|
||||
"version-semver": "1.8.3",
|
||||
|
Loading…
Reference in New Issue
Block a user