Skip to content

Commit

Permalink
Update find_raddbg.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi authored Feb 3, 2025
1 parent 648d294 commit 6e24f29
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions xmake/modules/detect/tools/find_raddbg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,11 @@ import("lib.detect.find_programver")
-- @endcode
--
function main(opt)

-- init options
opt = opt or {}

-- find program
local program = find_program(opt.program or "raddbg", opt)

-- find program version
local version = nil
if program and opt and opt.version then
version = find_programver(program, opt)
end

-- ok?
return program, version
end

0 comments on commit 6e24f29

Please sign in to comment.