summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2015-02-10 11:26:56 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-10 14:22:05 (GMT)
commiteeb2831b5f35af1ec8a65be343e754ff1c29550d (patch)
tree99d90efbc749cee6799c307bd2e8e7ac27ef392a /Source/cmLocalUnixMakefileGenerator3.cxx
parent44100adc6c7f7db7bfd4ccf0d8bd18de8ab195c0 (diff)
downloadCMake-eeb2831b5f35af1ec8a65be343e754ff1c29550d.zip
CMake-eeb2831b5f35af1ec8a65be343e754ff1c29550d.tar.gz
CMake-eeb2831b5f35af1ec8a65be343e754ff1c29550d.tar.bz2
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).
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 23513fa..280d4ab 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -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);