diff options
author | Ken Martin <ken.martin@kitware.com> | 2001-05-08 15:40:47 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2001-05-08 15:40:47 (GMT) |
commit | 237f960c8932f76c05110c93facdd86bd50bb74e (patch) | |
tree | 56826a2a48622e871464204d593e92beebfb4a7d /Source/cmTargetLinkLibrariesCommand.cxx | |
parent | 5d133eeebccd53157e2a2f0efe04a15e8e9697de (diff) | |
download | CMake-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.cxx | 5 |
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") { |