Skip to content

Commit

Permalink
improve to find cosmocc
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Feb 5, 2024
1 parent b5aa7bf commit 4c6ea8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xmake/modules/detect/tools/find_cosmocc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,8 @@ function main(opt)
if program and opt and opt.version then
version = find_programver(program, opt)
end
if program then
program = program:gsub("\\", "/")
end
return program, version
end

0 comments on commit 4c6ea8f

Please sign in to comment.