Merge topic 'makefile-missing-comment'

eeb2831b Makefile: Fix regression in target-bound custom command COMMENT output
This commit is contained in:
Brad King 2015-02-11 09:59:18 -05:00 committed by CMake Topic Stage
commit 939167a65c
1 changed files with 1 additions and 1 deletions

View File

@ -1132,7 +1132,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);