diff options
| -rw-r--r-- | xmake/modules/package/manager/vcpkg/find_package.lua | 6 | ||||
| -rw-r--r-- | xmake/modules/package/manager/vcpkg/install_package.lua | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/xmake/modules/package/manager/vcpkg/find_package.lua b/xmake/modules/package/manager/vcpkg/find_package.lua index 37d97e7c0..9ec248260 100644 --- a/xmake/modules/package/manager/vcpkg/find_package.lua +++ b/xmake/modules/package/manager/vcpkg/find_package.lua @@ -48,9 +48,9 @@ function main(name, opt) local mode = opt.mode if plat == "macosx" then plat = "osx" - if arch == "x86_64" then - arch = "x64" - end + end + if arch == "x86_64" then + arch = "x64" end -- get the vcpkg installed directory diff --git a/xmake/modules/package/manager/vcpkg/install_package.lua b/xmake/modules/package/manager/vcpkg/install_package.lua index 8716b004f..4a2b4fcca 100644 --- a/xmake/modules/package/manager/vcpkg/install_package.lua +++ b/xmake/modules/package/manager/vcpkg/install_package.lua @@ -47,9 +47,9 @@ function main(name, opt) local mode = opt.mode if plat == "macosx" then plat = "osx" - if arch == "x86_64" then - arch = "x64" - end + end + if arch == "x86_64" then + arch = "x64" end -- check architecture |
