Fix protobuf version in the example (#8509)

The version variable should be `protobuf_VERSION` in `CMakeLists.txt`.
This commit is contained in:
Jiamin Shen 2021-04-21 06:15:30 +08:00 committed by GitHub
parent bc45f92262
commit 0fd835893f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ project(protobuf-examples)
find_package(protobuf CONFIG REQUIRED)
if(protobuf_VERBOSE)
message(STATUS "Using Protocol Buffers ${Protobuf_VERSION}")
message(STATUS "Using Protocol Buffers ${protobuf_VERSION}")
endif()
set(CMAKE_INCLUDE_CURRENT_DIR TRUE)