From 5f2af34e0223cd54d959aacae7b4eac4918eb710 Mon Sep 17 00:00:00 2001
From: Lawrence Chan <llchan@users.noreply.github.com>
Date: Mon, 6 Nov 2017 10:43:22 -0600
Subject: [PATCH] Link grpctest with libgrpc_unsecure explicitly (#4474)

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a4cccae9..1537d835 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -235,7 +235,7 @@ if(FLATBUFFERS_BUILD_GRPCTEST)
     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-parameter -Wno-shadow")
   endif()
   add_executable(grpctest ${FlatBuffers_GRPCTest_SRCS})
-  target_link_libraries(grpctest grpc++_unsecure pthread dl)
+  target_link_libraries(grpctest grpc++_unsecure grpc_unsecure pthread dl)
 endif()
 
 if(FLATBUFFERS_INSTALL)
-- 
GitLab