From e0a41158f765cc0e53c8b4af7bfa6af69d50696b Mon Sep 17 00:00:00 2001 From: "M. Chornyi" <99709299+mc-nv@users.noreply.github.com> Date: Fri, 17 Jul 2026 11:48:36 -0700 Subject: [PATCH 1/2] fix: Link generated proto targets against protobuf::libprotobuf protobuf v33 (bundled with gRPC v1.81.1) headers include absl headers directly (e.g. coded_stream.h -> absl/base/optimization.h). The proto-library and grpc-service-library object targets compiled with only ${Protobuf_INCLUDE_DIRS} on the include path and failed with 'absl/base/optimization.h: No such file or directory'. Linking protobuf::libprotobuf propagates the absl include directories through the imported target's usage requirements. --- protobuf/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/protobuf/CMakeLists.txt b/protobuf/CMakeLists.txt index 3b70113..a5a2def 100644 --- a/protobuf/CMakeLists.txt +++ b/protobuf/CMakeLists.txt @@ -67,6 +67,8 @@ if(${TRITON_COMMON_ENABLE_PROTOBUF}) proto-library PRIVATE common-compile-settings + PUBLIC + protobuf::libprotobuf ) set_target_properties( @@ -139,6 +141,8 @@ if(${TRITON_COMMON_ENABLE_GRPC}) grpc-service-library PRIVATE common-compile-settings + PUBLIC + protobuf::libprotobuf ) set_target_properties( From 63f16e5637d0e37ab9ba7a68779e2df540694d2a Mon Sep 17 00:00:00 2001 From: "M. Chornyi" <99709299+mc-nv@users.noreply.github.com> Date: Fri, 17 Jul 2026 22:34:19 -0700 Subject: [PATCH 2/2] chore: Bump copyright year on protobuf/CMakeLists.txt --- protobuf/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protobuf/CMakeLists.txt b/protobuf/CMakeLists.txt index a5a2def..35bf6a2 100644 --- a/protobuf/CMakeLists.txt +++ b/protobuf/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2025, NVIDIA CORPORATION. All rights reserved. +# Copyright (c) 2021-2026, NVIDIA CORPORATION. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions