diff --git a/CMakeLists.txt b/CMakeLists.txt index cff18658d..69961a410 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,7 +37,7 @@ if(WITH_THRIFT) find_package(Thrift CONFIG REQUIRED) endif(WITH_THRIFT) if(WITH_GRPC) - find_package(protobuf REQUIRED) + find_package(protobuf CONFIG REQUIRED) find_package(gRPC CONFIG REQUIRED) message(${Protobuf_LIBRARIES})