diff options
Diffstat (limited to 'Source/cmMessageCommand.cxx')
-rw-r--r-- | Source/cmMessageCommand.cxx | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/Source/cmMessageCommand.cxx b/Source/cmMessageCommand.cxx index 266bcf8..f77cfd5 100644 --- a/Source/cmMessageCommand.cxx +++ b/Source/cmMessageCommand.cxx @@ -59,14 +59,7 @@ bool cmMessageCommand::InitialPass(std::vector<std::string> const& args) if (send_error || fatal_error) { - if( !this->Makefile->GetCMakeInstance()->GetDebugOutput()) - { - cmSystemTools::Error(message.c_str()); - } - else - { - this->SetError(message.c_str()); - } + cmSystemTools::Error(message.c_str()); } else { @@ -83,11 +76,6 @@ bool cmMessageCommand::InitialPass(std::vector<std::string> const& args) { cmSystemTools::SetFatalErrorOccured(); } - // if debug is on then retru - if(this->Makefile->GetCMakeInstance()->GetDebugOutput()) - { - return (!send_error && !fatal_error); - } return true; } |