summaryrefslogtreecommitdiff
path: root/xmake/modules/detect/sdks/find_xcode.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-12-19 22:48:13 +0800
committerruki <[email protected]>2018-12-19 10:49:18 +0800
commit1758e5f01e5684bf8da0187bb5b6ee7ac93fd4e6 (patch)
treee5879bdf6d8f98432fd0e34912864b6b57998f6e /xmake/modules/detect/sdks/find_xcode.lua
parent998aedba0b07b6b7605272b99e6dc0d59e5c8ac6 (diff)
improve mingw
Diffstat (limited to 'xmake/modules/detect/sdks/find_xcode.lua')
-rw-r--r--xmake/modules/detect/sdks/find_xcode.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_xcode.lua b/xmake/modules/detect/sdks/find_xcode.lua
index 3d381f665..e9a806c68 100644
--- a/xmake/modules/detect/sdks/find_xcode.lua
+++ b/xmake/modules/detect/sdks/find_xcode.lua
@@ -117,7 +117,7 @@ function main(sdkdir, opt)
local arch = opt.arch or config.get("arch") or "x86_64"
-- find xcode
- local xcode = _find_vscode(sdkdir or config.get("xcode") or global.get("xcode"), opt.sdkver or config.get("xcode_sdkver"), plat, arch)
+ local xcode = _find_vscode(sdkdir or config.get("xcode") or global.get("xcode") or config.get("sdk"), opt.sdkver or config.get("xcode_sdkver"), plat, arch)
if xcode and xcode.sdkdir then
-- save to config