cmake: Remove duplicate condition.

This commit is contained in:
Stephen Kelly 2015-04-11 12:09:15 +02:00
parent ade20b433b
commit 6ed19e615b
1 changed files with 0 additions and 4 deletions

View File

@ -1530,11 +1530,7 @@ int cmake::ActualConfigure()
if (!this->InTryCompile) if (!this->InTryCompile)
{ {
this->GlobalGenerator->ClearEnabledLanguages(); this->GlobalGenerator->ClearEnabledLanguages();
}
// Truncate log files
if (!this->InTryCompile)
{
this->TruncateOutputLog("CMakeOutput.log"); this->TruncateOutputLog("CMakeOutput.log");
this->TruncateOutputLog("CMakeError.log"); this->TruncateOutputLog("CMakeError.log");
} }