summaryrefslogtreecommitdiff
path: root/xmake/modules/package/manager/conan/find_package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-11-07 22:32:57 +0800
committerruki <[email protected]>2019-11-07 09:17:48 +0800
commit22d816464bf727fc83412136ecf8efe6df7cea84 (patch)
treea2f3ee8d8db5b6e40698006ea8a22a5e1134dd50 /xmake/modules/package/manager/conan/find_package.lua
parenta6e8c0224186d6948306c1312b1b6dd5cff16f43 (diff)
add os.version for ios
Diffstat (limited to 'xmake/modules/package/manager/conan/find_package.lua')
-rw-r--r--xmake/modules/package/manager/conan/find_package.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/package/manager/conan/find_package.lua b/xmake/modules/package/manager/conan/find_package.lua
index ab223c1cb..3dc30dc29 100644
--- a/xmake/modules/package/manager/conan/find_package.lua
+++ b/xmake/modules/package/manager/conan/find_package.lua
@@ -41,6 +41,7 @@ function _conan_get_arch(opt)
x86 = "x86",
armv7 = "armv7",
armv7s = "armv7s",
+ arm64 = "armv8",
["arm64-v8a"] = "armv8",
mips = "mips",
mips64 = "mips64"}
@@ -72,7 +73,7 @@ function main(name, opt)
local plat = _conan_get_plat(opt)
local arch = _conan_get_arch(opt)
local mode = _conan_get_mode(opt)
- if not plat and not arch and not mode then
+ if not plat or not arch or not mode then
return
end