From 0ec2bc7ab72d57d63d9492955293d924876dd4f8 Mon Sep 17 00:00:00 2001 From: Tao He Date: Thu, 24 Dec 2020 11:53:54 +0800 Subject: [PATCH] Be slient when we switch to another kind of package finding mechanism. Signed-off-by: Tao He --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c37f019..a724f2c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,7 +29,7 @@ endif() find_package(OpenSSL REQUIRED) find_package(Protobuf REQUIRED) -find_package(cpprestsdk) +find_package(cpprestsdk QUIET) if(cpprestsdk_FOUND) set(CPPREST_INCLUDE_DIR) else() @@ -37,7 +37,7 @@ else() find_path(CPPREST_INCLUDE_DIR NAMES cpprest/http_client.h) endif() -find_package(gRPC) +find_package(gRPC QUIET) if(gRPC_FOUND) set(GRPC_LIBRARIES gRPC::gpr gRPC::grpc gRPC::grpc++) get_target_property(GRPC_CPP_PLUGIN gRPC::grpc_cpp_plugin LOCATION)