vcpkg/ports/opentelemetry-fluentd/portfile.cmake
jim wang 7dc6a4e174
[opentelemetry-cpp] update to 1.12.0 (#33983)
* Generate Imath.pc

* update version

* add dependency imath minizip-ng

* updata version

* update version

* update to 1.11.0

* update version

* update

* update version

* update version

* update version

* fix missing header file

* update version

* Fix feature otlp content

* update version

* update to 1.12.0

* update version

* update version
2023-10-27 11:24:01 -07:00

27 lines
855 B
CMake

if(VCPKG_TARGET_IS_WINDOWS)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO open-telemetry/opentelemetry-cpp-contrib
REF 7afa91952f08aad1fa79b8992f20a4b0cdaadaff # Maps to 2.0.0
HEAD_REF main
SHA512 b28415c867aee5efe99f7521a145b5c402ac555d83be75a8b1d2760aed226ac109a6d092e86d7afedcc2ed8dc848d9662ac6505133d32f99b810f51e2748d1fc
PATCHES
fix_include_path.patch
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}/exporters/fluentd"
OPTIONS
-DBUILD_TESTING=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")