diff options
Diffstat (limited to 'Source/cmAddCustomTargetCommand.cxx')
-rw-r--r-- | Source/cmAddCustomTargetCommand.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmAddCustomTargetCommand.cxx b/Source/cmAddCustomTargetCommand.cxx index 085a80d..d7e479a 100644 --- a/Source/cmAddCustomTargetCommand.cxx +++ b/Source/cmAddCustomTargetCommand.cxx @@ -159,12 +159,14 @@ bool cmAddCustomTargetCommand } // Enforce name uniqueness. + { std::string msg; if(!this->Makefile->EnforceUniqueName(args[0], msg)) { this->SetError(msg.c_str()); return false; } + } // Add the utility target to the makefile. bool escapeOldStyle = !verbatim; |