diff options
| author | ruki <[email protected]> | 2020-11-24 23:28:45 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-11-24 23:28:45 +0800 |
| commit | ae5c5e7c88cf47ffa0fb58b3f05407c0ac82ea31 (patch) | |
| tree | 87415fd102320ff1c14f0f56d410115b7de03bbf | |
| parent | b6ddb3b69b5cbf0f6068df78a0a38834eb9da68e (diff) | |
fix find_vcpkg
| -rw-r--r-- | xmake/modules/detect/tools/find_vcpkg.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/tools/find_vcpkg.lua b/xmake/modules/detect/tools/find_vcpkg.lua index 5c7e21370..7c132c4ef 100644 --- a/xmake/modules/detect/tools/find_vcpkg.lua +++ b/xmake/modules/detect/tools/find_vcpkg.lua @@ -67,7 +67,7 @@ function main(opt) -- find program opt.paths = paths opt.envs = {PATH = os.getenv("PATH")} - local program = find_program(opt.program or "version", opt) + local program = find_program(opt.program or "vcpkg", opt) -- find program version local version = nil |
