From 237f960c8932f76c05110c93facdd86bd50bb74e Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Tue, 8 May 2001 11:40:47 -0400 Subject: [PATCH] BUG: added arg0 to link libraries --- Source/cmTargetLinkLibrariesCommand.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/cmTargetLinkLibrariesCommand.cxx b/Source/cmTargetLinkLibrariesCommand.cxx index 2ae962a11..fb44de331 100644 --- a/Source/cmTargetLinkLibrariesCommand.cxx +++ b/Source/cmTargetLinkLibrariesCommand.cxx @@ -50,8 +50,9 @@ bool cmTargetLinkLibrariesCommand::Invoke(std::vector& args) } // add libraries, nothe that there is an optional prefix // of debug and optimized than can be used - for(std::vector::iterator i = args.begin(); - i != args.end(); ++i) + std::vector::iterator i = args.begin(); + + for(++i; i != args.end(); ++i) { if (*i == "debug") {