It has other .pc files
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
set(grpc_STATIC_LIBRARIES libgrpc.a libgrpc++.a libaddress_sorting.a libgpr.a)
message("GRPC_LIBRARIES : [${GRPC_LIBRARIES}]")
+ pkg_search_module(GPR REQUIRED gpr)
+ pkg_search_module(GRPCPP REQUIRED grpc++)
+ set(GRPC_LIBRARIES ${GRPC_LIBRARIES} ${GPR_LIBRARIES} ${GRPCPP_LIBRARIES})
+
# To meet DEPENDS grpc from other projects.
# If we hit this line, grpc is already built and installed to the system.
add_custom_target(grpc_)