summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmAddLibraryCommand.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmAddLibraryCommand.cxx b/Source/cmAddLibraryCommand.cxx
index 2bc9ab0..64f3264 100644
--- a/Source/cmAddLibraryCommand.cxx
+++ b/Source/cmAddLibraryCommand.cxx
@@ -91,6 +91,7 @@ bool cmAddLibraryCommand::InitialPass(std::vector<std::string> const& args)
std::string copy = *s;
m_Makefile->ExpandVariablesInString(copy);
srclists.push_back(copy);
+ ++s;
}
m_Makefile->AddLibrary(libname.c_str(), shared, srclists);