diff --git a/Source/cmake.cxx b/Source/cmake.cxx index bef8904bb..cf81ea456 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -1530,11 +1530,7 @@ int cmake::ActualConfigure() if (!this->InTryCompile) { this->GlobalGenerator->ClearEnabledLanguages(); - } - // Truncate log files - if (!this->InTryCompile) - { this->TruncateOutputLog("CMakeOutput.log"); this->TruncateOutputLog("CMakeError.log"); }