Merge branch 'makefile-missing-comment' into release-3.1

This commit is contained in:
Brad King 2015-02-10 09:27:52 -05:00
commit 8ad8a81d5c
1 changed files with 1 additions and 1 deletions

View File

@ -1076,7 +1076,7 @@ cmLocalUnixMakefileGenerator3
if(echo_comment) if(echo_comment)
{ {
const char* comment = ccg.GetComment(); const char* comment = ccg.GetComment();
if(comment && !*comment) if(comment && *comment)
{ {
this->AppendEcho(commands, comment, this->AppendEcho(commands, comment,
cmLocalUnixMakefileGenerator3::EchoGenerate); cmLocalUnixMakefileGenerator3::EchoGenerate);