Makefile: Fix regression in target-bound custom command COMMENT output

Fix a logic typo introduced by commit v3.1.0-rc1~781^2 (Generalize
cmCustomCommandGenerator to more fields, 2014-03-10).
This commit is contained in:
Nils Gladitz 2015-02-10 12:26:56 +01:00 committed by Brad King
parent 44100adc6c
commit eeb2831b5f
1 changed files with 1 additions and 1 deletions

View File

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