diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 2fceb8555..9ddc1c930 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -2359,6 +2359,14 @@ int cmCTest::RunMakeCommand(const char* command, std::string* output, { if ( output ) { + for(int cc =0; cc < length; ++cc) + { + if(data[cc] == 0) + { + data[cc] = '\n'; + } + } + output->append(data, length); if ( !verbose ) {