Skip to content

gRPC install fails when gRPC_BUILD_CODEGEN is OFF during cross platform build #32885

@pankaj9um

Description

@pankaj9um

During a cross platform build of gRPC, none of the plugin targets are created if gRPC_BUILD_CODEGEN is set to OFF.
But here https://github.com/grpc/grpc/blob/master/CMakeLists.txt#L26104 gRPCPluginTargets are installed without checking gRPC_BUILD_CODEGEN variable. This leads to failure while doing install of gRPC build.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions