From 54409423f767d8b1cf30cb7d0efca6b4ca138823 Mon Sep 17 00:00:00 2001 From: Ethan Morgan Date: Sat, 14 Feb 2026 16:44:06 +0000 Subject: move to own git server --- vcpkg/ports/mysql-connector-cpp/disable-telemetry.diff | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 vcpkg/ports/mysql-connector-cpp/disable-telemetry.diff (limited to 'vcpkg/ports/mysql-connector-cpp/disable-telemetry.diff') diff --git a/vcpkg/ports/mysql-connector-cpp/disable-telemetry.diff b/vcpkg/ports/mysql-connector-cpp/disable-telemetry.diff new file mode 100644 index 0000000..4ba74a1 --- /dev/null +++ b/vcpkg/ports/mysql-connector-cpp/disable-telemetry.diff @@ -0,0 +1,14 @@ +diff --git a/jdbc/extra/otel/CMakeLists.txt b/jdbc/extra/otel/CMakeLists.txt +index bbed9bd..d03e2ef 100644 +--- a/jdbc/extra/otel/CMakeLists.txt ++++ b/jdbc/extra/otel/CMakeLists.txt +@@ -9,7 +9,9 @@ if(NOT (WIN32 OR APPLE OR CMAKE_SYSTEM_NAME MATCHES "SunOS")) + message(STATUS "Adding OTel support") + + set(TELEMETRY ON CACHE INTERNAL "Whether connector is built with OTel support") ++endif() + ++if(TELEMETRY) + target_include_directories(otel_api INTERFACE + "${PROJECT_SOURCE_DIR}/extra/otel/${OPENTELEMETRY_CPP_TAG}/api/include" + ) -- cgit v1.2.3