mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-27 23:08:06 +00:00
Link grpctest with libgrpc_unsecure explicitly (#4474)
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
f3f113b24a
commit
5f2af34e02
@@ -235,7 +235,7 @@ if(FLATBUFFERS_BUILD_GRPCTEST)
|
|||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-parameter -Wno-shadow")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-parameter -Wno-shadow")
|
||||||
endif()
|
endif()
|
||||||
add_executable(grpctest ${FlatBuffers_GRPCTest_SRCS})
|
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()
|
endif()
|
||||||
|
|
||||||
if(FLATBUFFERS_INSTALL)
|
if(FLATBUFFERS_INSTALL)
|
||||||
|
|||||||
Reference in New Issue
Block a user