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.