mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
committed by
Brad King
parent
68c8e0e3e5
commit
416d86ab32
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user