diff options
| author | ruki <[email protected]> | 2021-04-21 00:46:02 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-04-21 00:46:02 +0800 |
| commit | 2265d384ea7a49ad1ab89860a6d1dbbcca4aff95 (patch) | |
| tree | 548672b67a1ae8cfb1229beeef4883590deca407 | |
| parent | 09f860d3a05dea335000edc37371796c00749f98 (diff) | |
improve to check toolchain
| -rw-r--r-- | xmake/actions/config/main.lua | 2 |
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 |
