Fix a message indicating the protobuf version in cpp hello_world example's CMakeLists.txt

pull/23252/head
tuttieee 5 years ago
parent c9759f9414
commit a61e02b90f
  1. 2
      examples/cpp/helloworld/CMakeLists.txt

@ -101,7 +101,7 @@ else()
# Looks for protobuf-config.cmake file installed by Protobuf's cmake installation.
set(protobuf_MODULE_COMPATIBLE TRUE)
find_package(Protobuf CONFIG REQUIRED)
message(STATUS "Using protobuf ${protobuf_VERSION}")
message(STATUS "Using protobuf ${Protobuf_VERSION}")
set(_PROTOBUF_LIBPROTOBUF protobuf::libprotobuf)
set(_REFLECTION gRPC::grpc++_reflection)

Loading…
Cancel
Save