summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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