From 0fd835893ffc0572efcbb2893f14deae993b5e31 Mon Sep 17 00:00:00 2001 From: Jiamin Shen Date: Wed, 21 Apr 2021 06:15:30 +0800 Subject: [PATCH] Fix protobuf version in the example (#8509) The version variable should be `protobuf_VERSION` in `CMakeLists.txt`. --- examples/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 3e8e65414e1d..113629689c92 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -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)