summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-06-17 22:56:37 +0800
committerruki <[email protected]>2025-06-17 22:56:37 +0800
commitf7dd3d77fe79859b94b6f08c901a013c33cf77ba (patch)
tree2c408efdcf6256a994213ec5db46179db0af5b40
parenta7b4e164111cad5ffd7af28c10df9a9fbe996047 (diff)
fix progress path for cmake
-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)