diff options
author | Nils Gladitz <nilsgladitz@gmail.com> | 2015-02-10 11:26:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-02-10 14:22:05 (GMT) |
commit | eeb2831b5f35af1ec8a65be343e754ff1c29550d (patch) | |
tree | 99d90efbc749cee6799c307bd2e8e7ac27ef392a /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | 44100adc6c7f7db7bfd4ccf0d8bd18de8ab195c0 (diff) | |
download | CMake-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.cxx | 2 |
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); |