Add explicit check that we're building with bazel.

pull/15984/head
easy 7 years ago
parent 1b6e8514a9
commit eaa51cbc9d
  1. 4
      include/grpcpp/opencensus.h

@ -19,6 +19,10 @@
#ifndef GRPCPP_OPENCENSUS_H
#define GRPCPP_OPENCENSUS_H
#ifndef GRPC_BAZEL_BUILD
#error OpenCensus for gRPC is only supported when building with bazel.
#endif
#include "opencensus/trace/span.h"
namespace grpc {

Loading…
Cancel
Save