summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-02-11 14:59:18 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-02-11 14:59:18 (GMT)
commit939167a65cf7e057ac98c63f8e3ff0acd4129c28 (patch)
treebf40edeed8b0b8e905d08b6a23648794e800fa84 /Source/cmLocalUnixMakefileGenerator3.cxx
parent197933018863c4845262dd6fb47e4edf721445f1 (diff)
parenteeb2831b5f35af1ec8a65be343e754ff1c29550d (diff)
downloadCMake-939167a65cf7e057ac98c63f8e3ff0acd4129c28.zip
CMake-939167a65cf7e057ac98c63f8e3ff0acd4129c28.tar.gz
CMake-939167a65cf7e057ac98c63f8e3ff0acd4129c28.tar.bz2
Merge topic 'makefile-missing-comment'
eeb2831b Makefile: Fix regression in target-bound custom command COMMENT output
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 54d330f..a4eb3eb 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -1132,7 +1132,7 @@ cmLocalUnixMakefileGenerator3
if(echo_comment)
{
const char* comment = ccg.GetComment();
- if(comment && !*comment)
+ if(comment && *comment)
{
this->AppendEcho(commands, comment,
cmLocalUnixMakefileGenerator3::EchoGenerate);