Fix protobuf.cmake to handle empty PROTOBUF_VERSION correctly
Sometime FIND_PACKAGE(ProtoBuf) get an empty PROTOBUF_VERSION. In this case, ${PROTOBUF_VERSION} needs to be quoted.
Showing
想要评论请 注册 或 登录
Fork自 PaddlePaddle / Paddle
Sometime FIND_PACKAGE(ProtoBuf) get an empty PROTOBUF_VERSION. In this case, ${PROTOBUF_VERSION} needs to be quoted.