diff options
Diffstat (limited to 'Source/cmAddExecutableCommand.cxx')
-rw-r--r-- | Source/cmAddExecutableCommand.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmAddExecutableCommand.cxx b/Source/cmAddExecutableCommand.cxx index 7445069..bd3623f 100644 --- a/Source/cmAddExecutableCommand.cxx +++ b/Source/cmAddExecutableCommand.cxx @@ -101,12 +101,14 @@ bool cmAddExecutableCommand } // Enforce name uniqueness. + { std::string msg; if(!this->Makefile->EnforceUniqueName(exename, msg)) { this->SetError(msg.c_str()); return false; } + } if (s == args.end()) { |