This is an automated email from the ASF dual-hosted git repository. cmcfarlen pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 20c27101d2efaaf889a6152ed3984311fe2f5056 Author: Brian Neradt <[email protected]> AuthorDate: Tue Apr 9 13:19:43 2024 -0500 Update curl library references to CURL (#11232) The cmake builtin FindCURL module looks for CURL and CURL::libcurl. This updates our references to curl, via our Open Telemetry plugin, to reference CURL the way FindCURL expects. I verified I can reference our CI's version of curl in /opt via -DCURL_ROOT=/opt with these updates. (cherry picked from commit 4e9c8314cabebf3e6f7289415b284c8569e9fc4e) --- cmake/ExperimentalPlugins.cmake | 2 +- plugins/experimental/otel_tracer/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/ExperimentalPlugins.cmake b/cmake/ExperimentalPlugins.cmake index 637635d400..673c1f5835 100644 --- a/cmake/ExperimentalPlugins.cmake +++ b/cmake/ExperimentalPlugins.cmake @@ -70,7 +70,7 @@ auto_option( PACKAGE_DEPENDS opentelemetry Protobuf - curl + CURL DEFAULT ${_DEFAULT} ) diff --git a/plugins/experimental/otel_tracer/CMakeLists.txt b/plugins/experimental/otel_tracer/CMakeLists.txt index 79bf187be4..8b9ab00579 100644 --- a/plugins/experimental/otel_tracer/CMakeLists.txt +++ b/plugins/experimental/otel_tracer/CMakeLists.txt @@ -16,5 +16,5 @@ ####################### add_atsplugin(otel_tracer otel_tracer.cc) -target_link_libraries(otel_tracer PRIVATE opentelemetry::opentelemetry protobuf::libprotobuf curl::curl) +target_link_libraries(otel_tracer PRIVATE opentelemetry::opentelemetry protobuf::libprotobuf CURL::libcurl) verify_global_plugin(otel_tracer)
