diff options
| author | Jing <[email protected]> | 2019-04-11 10:05:00 +0800 |
|---|---|---|
| committer | Jing <[email protected]> | 2019-04-11 10:05:00 +0800 |
| commit | 84a97cf3471a039bbde45491d5db8eb470b3373e (patch) | |
| tree | dcbe2c87df75a28e96e48390d8953246dccc39cb /xmake/modules | |
| parent | e08df53e34cb548089faf6ce1ce8fb2305f8f3e7 (diff) | |
improve vcpkg for x64 architecture.
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/package/manager/vcpkg/find_package.lua | 5 | ||||
| -rw-r--r-- | xmake/modules/package/manager/vcpkg/install_package.lua | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/xmake/modules/package/manager/vcpkg/find_package.lua b/xmake/modules/package/manager/vcpkg/find_package.lua index 3ed416686..9ec248260 100644 --- a/xmake/modules/package/manager/vcpkg/find_package.lua +++ b/xmake/modules/package/manager/vcpkg/find_package.lua @@ -48,11 +48,8 @@ function main(name, opt) local mode = opt.mode if plat == "macosx" then plat = "osx" - if arch == "x86_64" then - arch = "x64" - end end - if plat == "linux" and arch == "x86_64" then + if arch == "x86_64" then arch = "x64" end diff --git a/xmake/modules/package/manager/vcpkg/install_package.lua b/xmake/modules/package/manager/vcpkg/install_package.lua index 715714281..4a2b4fcca 100644 --- a/xmake/modules/package/manager/vcpkg/install_package.lua +++ b/xmake/modules/package/manager/vcpkg/install_package.lua @@ -47,11 +47,8 @@ function main(name, opt) local mode = opt.mode if plat == "macosx" then plat = "osx" - if arch == "x86_64" then - arch = "x64" - end end - if plat == "linux" and arch == "x86_64" then + if arch == "x86_64" then arch = "x64" end |
