You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by cm...@apache.org on 2024/04/09 14:32:09 UTC

(trafficserver) 08/08: add missing CMakeLists.txt (#11231)

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 16123bfa01a81d2bb6dd879d298df604545f9c31
Author: Chris McFarlen <ch...@mcfarlen.us>
AuthorDate: Tue Apr 9 08:46:59 2024 -0500

    add missing CMakeLists.txt (#11231)
    
    (cherry picked from commit c086d8382e48da16985159109a6bc98d2848d43c)
---
 plugins/experimental/otel_tracer/CMakeLists.txt | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/plugins/experimental/otel_tracer/CMakeLists.txt b/plugins/experimental/otel_tracer/CMakeLists.txt
new file mode 100644
index 0000000000..79bf187be4
--- /dev/null
+++ b/plugins/experimental/otel_tracer/CMakeLists.txt
@@ -0,0 +1,20 @@
+#######################
+#
+#  Licensed to the Apache Software Foundation (ASF) under one or more contributor license
+#  agreements.  See the NOTICE file distributed with this work for additional information regarding
+#  copyright ownership.  The ASF licenses this file to you under the Apache License, Version 2.0
+#  (the "License"); you may not use this file except in compliance with the License.  You may obtain
+#  a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software distributed under the License
+#  is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+#  or implied. See the License for the specific language governing permissions and limitations under
+#  the License.
+#
+#######################
+
+add_atsplugin(otel_tracer otel_tracer.cc)
+target_link_libraries(otel_tracer PRIVATE opentelemetry::opentelemetry protobuf::libprotobuf curl::curl)
+verify_global_plugin(otel_tracer)