summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-04-21 00:46:02 +0800
committerruki <[email protected]>2021-04-21 00:46:02 +0800
commit2265d384ea7a49ad1ab89860a6d1dbbcca4aff95 (patch)
tree548672b67a1ae8cfb1229beeef4883590deca407
parent09f860d3a05dea335000edc37371796c00749f98 (diff)
improve to check toolchain
-rw-r--r--xmake/actions/config/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/config/main.lua b/xmake/actions/config/main.lua
index 4052f5b3f..54bcc6a1f 100644
--- a/xmake/actions/config/main.lua
+++ b/xmake/actions/config/main.lua
@@ -149,7 +149,7 @@ function _check_target_toolchains()
raise(errors)
end
end
- else
+ elseif not target:get("toolset") then
-- we only abort it when we know that toolchains of platform and target do not found
local toolchain_found
for _, toolchain_inst in pairs(target:toolchains()) do