Link grpctest with libgrpc_unsecure explicitly (#4474)

This commit is contained in:
Lawrence Chan
2017-11-06 10:43:22 -06:00
committed by Wouter van Oortmerssen
parent f3f113b24a
commit 5f2af34e02

View File

@@ -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)