termux-packages/packages/libgrpc/CMakeLists.txt.diff
2017-07-11 11:50:43 +02:00

12 lines
542 B
Diff

--- ./CMakeLists.txt 2017-07-09 09:11:13.314844730 +0530
+++ ../CMakeLists.txt 2017-07-09 09:14:19.309615851 +0530
@@ -322,7 +322,7 @@
COMMAND ${_gRPC_PROTOBUF_PROTOC}
ARGS --grpc_out=generate_mock_code=true:${_gRPC_PROTO_GENS_DIR}
--cpp_out=${_gRPC_PROTO_GENS_DIR}
- --plugin=protoc-gen-grpc=$<TARGET_FILE:grpc_cpp_plugin>
+ --plugin=protoc-gen-grpc=@PATH_TO_PLUGIN@
${_protobuf_include_path}
${REL_FIL}
DEPENDS ${ABS_FIL} ${_gRPC_PROTOBUF_PROTOC} grpc_cpp_plugin