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