diff options
| author | ruki <[email protected]> | 2021-03-02 23:41:03 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-03-02 23:41:03 +0800 |
| commit | c4c51868c4bde47d3d5be1c22a71b7f4fd553f31 (patch) | |
| tree | 8c6a956298d7e63628e3c4517aaa00d2587249d9 /xmake/toolchains/xcode/check.lua | |
| parent | 569416446b0cc78535d93614197568fbaffcd497 (diff) | |
fix target_minver
Diffstat (limited to 'xmake/toolchains/xcode/check.lua')
| -rw-r--r-- | xmake/toolchains/xcode/check.lua | 2 |
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 |
