summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLawrence Chan <llchan@users.noreply.github.com>2017-11-06 10:43:22 -0600
committerWouter van Oortmerssen <aardappel@gmail.com>2017-11-06 08:43:22 -0800
commit5f2af34e0223cd54d959aacae7b4eac4918eb710 (patch)
treedf41fdc9b402453d08a35b6f6fa282a806a4618d
parentf3f113b24a9b14b8d288ef80f66f9743ae518bf7 (diff)
downloadflatbuffers-5f2af34e0223cd54d959aacae7b4eac4918eb710.tar.gz
flatbuffers-5f2af34e0223cd54d959aacae7b4eac4918eb710.tar.bz2
flatbuffers-5f2af34e0223cd54d959aacae7b4eac4918eb710.zip
Link grpctest with libgrpc_unsecure explicitly (#4474)
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)