Fix protobuf version in the example (#8509)

The version variable should be `protobuf_VERSION` in `CMakeLists.txt`.
pull/8519/head
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
1 changed files with 1 additions and 1 deletions

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)