cmake: Remove duplicate condition.
This commit is contained in:
parent
ade20b433b
commit
6ed19e615b
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue