João Soares 00323023d2
[opentelemetry-cpp] update version to 1.4.1 (#25873)
* [opentelemetry-cpp] update opentelemetry-cpp to v1.4.1

* enable logs and metrics preview

* update versions database

* update azure-core-tracing-opentelemetry-cpp to use opentelemetry-cpp 1.4.1

* azure-core-tracing-opentelemetry-cpp: remove hard depdency on opentelemetry version instead of using 1.4.1

* Nitpick on using identical patch file.

Co-authored-by: João Soares <joao.soares@xpi.com.br>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-07-22 13:52:15 -07:00

21 lines
772 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Azure/azure-sdk-for-cpp
REF azure-core-tracing-opentelemetry_1.0.0-beta.2
SHA512 a0697ed440a08f3814013adf476c2a1333b462a2eb96bac18c47939c54686396639935568e229dad6bbbae06f54c324da82544634c6384a2c1498f9959836b6d
PATCHES
"3844.patch" # https://github.com/Azure/azure-sdk-for-cpp/pull/3844 "Removed hard dependency on opentelemetry version"
)
vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}/sdk/core/azure-core-tracing-opentelemetry/
OPTIONS
-DWARNINGS_AS_ERRORS=OFF
)
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_cmake_config_fixup()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
vcpkg_copy_pdbs()