diff options
| author | ruki <[email protected]> | 2019-04-18 00:49:10 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-04-17 22:55:01 +0800 |
| commit | fe7395793bf186b54c6ccb777b9086a9e2b5d2e9 (patch) | |
| tree | 6b306704c3c7598f5dd55aca9d88580eb98f4a3b /xmake/modules/package/manager | |
| parent | da2e7200b81638ffae4ca46594b1ee8f37a6dca0 (diff) | |
improve vcpkg and package errors tip
Diffstat (limited to 'xmake/modules/package/manager')
| -rw-r--r-- | xmake/modules/package/manager/vcpkg/install_package.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/xmake/modules/package/manager/vcpkg/install_package.lua b/xmake/modules/package/manager/vcpkg/install_package.lua index 8f5aa92d1..2ef3bae90 100644 --- a/xmake/modules/package/manager/vcpkg/install_package.lua +++ b/xmake/modules/package/manager/vcpkg/install_package.lua @@ -48,11 +48,6 @@ function main(name, opt) arch = "x64" end - -- check architecture - if opt.arch ~= os.arch() then - raise("cannot install package(%s) for arch(%s)!", name, opt.arch) - end - -- init argv local argv = {"install", string.format("%s:%s-%s", name, arch, plat)} |
