Permalink
Browse files

build gRPC example

  • Loading branch information...
flier committed Mar 16, 2017
1 parent deb147e commit df941e2e89d50d406f7063a0c2e16975dff3b9f0
Showing with 2 additions and 2 deletions.
  1. +1 −1 CMakeLists.txt
  2. +1 −1 examples/grpc_greeter/CMakeLists.txt
View
@@ -170,7 +170,7 @@ endif()
if (WITH_GRPC)
if (NOT GRPC_FOUND)
message(SEND_ERROR "zlib not found")
message(SEND_ERROR "gRPC not found")
endif()
message(STATUS "Build with gRPC propagation")
@@ -1,4 +1,4 @@
if (NOT(PROTOBUF_FOUND AND GRPC_FOUND AND FOLLY_FOUND))
if (NOT WITH_GRPC)
message(WARNING "Not found protobuf, gRPC or folly, skip the grpc_greeter example")
return()
endif()

0 comments on commit df941e2

Please sign in to comment.