diff --git a/src/plugins/mcusupport/mcupackage.cpp b/src/plugins/mcusupport/mcupackage.cpp index 63a86442290..b0a3699faff 100644 --- a/src/plugins/mcusupport/mcupackage.cpp +++ b/src/plugins/mcusupport/mcupackage.cpp @@ -325,6 +325,7 @@ ToolChain *McuToolChainPackage::msvcToolChain(Id language) return (abi.osFlavor() == Abi::WindowsMsvc2017Flavor || abi.osFlavor() == Abi::WindowsMsvc2019Flavor) && abi.architecture() == Abi::X86Architecture && abi.wordWidth() == 64 + && t->typeId() == ProjectExplorer::Constants::MSVC_TOOLCHAIN_TYPEID && t->language() == language; }); return toolChain;