summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/rules/protobuf/proto.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/protobuf/proto.lua b/xmake/rules/protobuf/proto.lua
index 2649a0586..24ad7ed0a 100644
--- a/xmake/rules/protobuf/proto.lua
+++ b/xmake/rules/protobuf/proto.lua
@@ -156,7 +156,7 @@ function buildcmd_pfile(target, batchcmds, sourcefile_proto, sourcekind, opt)
opt.progress,
"${color.build.object}compiling.proto.%s %s",
(sourcekind == "cxx" and "c++" or "c"),
- sourcefile_proto
+ path(sourcefile_proto)
)
batchcmds:vrunv(protoc, protoc_args)