[llvm] 203b072 - [CMake][gRPC] Fix a typo in protobuf version variable name
Aleksandr Platonov via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 26 09:33:41 PDT 2021
Author: Aleksandr Platonov
Date: 2021-03-26T19:33:06+03:00
New Revision: 203b072dd23b63174c9aa428b6f1c84859f43670
URL: https://github.com/llvm/llvm-project/commit/203b072dd23b63174c9aa428b6f1c84859f43670
DIFF: https://github.com/llvm/llvm-project/commit/203b072dd23b63174c9aa428b6f1c84859f43670.diff
LOG: [CMake][gRPC] Fix a typo in protobuf version variable name
Without this patch CMake log contains `Using protobuf` instead of `Using protobuf <version>`.
Reviewed By: kbobyrev
Differential Revision: https://reviews.llvm.org/D99405
Added:
Modified:
llvm/cmake/modules/FindGRPC.cmake
Removed:
################################################################################
diff --git a/llvm/cmake/modules/FindGRPC.cmake b/llvm/cmake/modules/FindGRPC.cmake
index 66e9d832ae944..e058f544cb290 100644
--- a/llvm/cmake/modules/FindGRPC.cmake
+++ b/llvm/cmake/modules/FindGRPC.cmake
@@ -12,7 +12,7 @@ if (GRPC_INSTALL_PATH)
# LLVM's BUILD_SHARED_LIBS has no effect).
set(protobuf_MODULE_COMPATIBLE TRUE)
find_package(Protobuf CONFIG REQUIRED HINTS ${GRPC_INSTALL_PATH})
- message(STATUS "Using protobuf ${protobuf_VERSION}")
+ message(STATUS "Using protobuf ${Protobuf_VERSION}")
find_package(gRPC CONFIG REQUIRED HINTS ${GRPC_INSTALL_PATH})
message(STATUS "Using gRPC ${gRPC_VERSION}")
More information about the llvm-commits
mailing list