diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index a3c3846a9..1f3bda89c 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -289,7 +289,7 @@ void cmMakefilePrintPrefixed(std::ostream& os, const char* prefix, bool newline = true; for(const char* c = msg.c_str(); *c; ++c) { - if(newline) + if(newline && *c != '\n') { os << prefix; newline = false;