summaryrefslogtreecommitdiffstats
path: root/Source/cmTargetLinkLibrariesCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-05-08 15:40:47 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-05-08 15:40:47 (GMT)
commit237f960c8932f76c05110c93facdd86bd50bb74e (patch)
tree56826a2a48622e871464204d593e92beebfb4a7d /Source/cmTargetLinkLibrariesCommand.cxx
parent5d133eeebccd53157e2a2f0efe04a15e8e9697de (diff)
downloadCMake-237f960c8932f76c05110c93facdd86bd50bb74e.zip
CMake-237f960c8932f76c05110c93facdd86bd50bb74e.tar.gz
CMake-237f960c8932f76c05110c93facdd86bd50bb74e.tar.bz2
BUG: added arg0 to link libraries
Diffstat (limited to 'Source/cmTargetLinkLibrariesCommand.cxx')
-rw-r--r--Source/cmTargetLinkLibrariesCommand.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmTargetLinkLibrariesCommand.cxx b/Source/cmTargetLinkLibrariesCommand.cxx
index 2ae962a..fb44de3 100644
--- a/Source/cmTargetLinkLibrariesCommand.cxx
+++ b/Source/cmTargetLinkLibrariesCommand.cxx
@@ -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")
{