BUG: added arg0 to link libraries

This commit is contained in:
Ken Martin 2001-05-08 11:40:47 -04:00
parent 5d133eeebc
commit 237f960c89
1 changed files with 3 additions and 2 deletions

View File

@ -50,8 +50,9 @@ bool cmTargetLinkLibrariesCommand::Invoke(std::vector<std::string>& args)
}
// add libraries, nothe that there is an optional prefix
// of debug and optimized than can be used
for(std::vector<std::string>::iterator i = args.begin();
i != args.end(); ++i)
std::vector<std::string>::iterator i = args.begin();
for(++i; i != args.end(); ++i)
{
if (*i == "debug")
{