summaryrefslogtreecommitdiff
path: root/xmake/toolchains/xcode/check.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-03-02 23:41:03 +0800
committerruki <[email protected]>2021-03-02 23:41:03 +0800
commitc4c51868c4bde47d3d5be1c22a71b7f4fd553f31 (patch)
tree8c6a956298d7e63628e3c4517aaa00d2587249d9 /xmake/toolchains/xcode/check.lua
parent569416446b0cc78535d93614197568fbaffcd497 (diff)
fix target_minver
Diffstat (limited to 'xmake/toolchains/xcode/check.lua')
-rw-r--r--xmake/toolchains/xcode/check.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/toolchains/xcode/check.lua b/xmake/toolchains/xcode/check.lua
index 6e243c00e..4f92369b2 100644
--- a/xmake/toolchains/xcode/check.lua
+++ b/xmake/toolchains/xcode/check.lua
@@ -69,7 +69,7 @@ function main(toolchain)
-- target("test")
-- set_toolchains("xcode", {plat = os.host(), arch = os.arch()})
--
- local target_minver = toolchain:config("target_minver") and config.get("target_minver")
+ local target_minver = toolchain:config("target_minver") or config.get("target_minver")
if xcode_sdkver and not target_minver then
target_minver = xcode_sdkver
if toolchain:is_plat("macosx") then