From 416d86ab32170d0df179e94fef6f5a07e3bbe7fd Mon Sep 17 00:00:00 2001 From: Eduard Voronkin <42834212+Noxybot@users.noreply.github.com> Date: Fri, 26 Dec 2025 17:08:17 -0800 Subject: FASTBuild: fix configure for non-English MSVC Fixes: #27483 --- Source/cmGlobalFastbuildGenerator.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/cmGlobalFastbuildGenerator.cxx b/Source/cmGlobalFastbuildGenerator.cxx index 7b613c7..1f178cb 100644 --- a/Source/cmGlobalFastbuildGenerator.cxx +++ b/Source/cmGlobalFastbuildGenerator.cxx @@ -1020,7 +1020,8 @@ void cmGlobalFastbuildGenerator::AddCompiler(std::string const& language, // If FASTBUILD_COMPILER_EXTRA_FILES is not set - automatically add extra // files based on compiler (see // https://fastbuild.org/docs/functions/compiler.html) - if (compilerDef.ExtraFiles.empty() && + if (!this->GetCMakeInstance()->GetIsInTryCompile() && + compilerDef.ExtraFiles.empty() && (language == "C" || language == "CXX") && compilerDef.CmakeCompilerID == "MSVC") { // https://cmake.org/cmake/help/latest/variable/MSVC_VERSION.html -- cgit v0.12