summaryrefslogtreecommitdiffstats
path: root/Source/cmTargetLinkLibrariesCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-03-06 15:10:46 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-03-06 15:10:46 (GMT)
commit8aa3c35dadb67d63873d44a9ef55391e419376a1 (patch)
treecfcd77fefb78a136c8e312dedf1fa0ab1edf92e3 /Source/cmTargetLinkLibrariesCommand.cxx
parent4651dbcfc64836988649c2ca7e3e30c811723eb2 (diff)
downloadCMake-8aa3c35dadb67d63873d44a9ef55391e419376a1.zip
CMake-8aa3c35dadb67d63873d44a9ef55391e419376a1.tar.gz
CMake-8aa3c35dadb67d63873d44a9ef55391e419376a1.tar.bz2
ENH: add suport for semi-colon separated list variables
Diffstat (limited to 'Source/cmTargetLinkLibrariesCommand.cxx')
-rw-r--r--Source/cmTargetLinkLibrariesCommand.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmTargetLinkLibrariesCommand.cxx b/Source/cmTargetLinkLibrariesCommand.cxx
index 20c4efe..50396e5 100644
--- a/Source/cmTargetLinkLibrariesCommand.cxx
+++ b/Source/cmTargetLinkLibrariesCommand.cxx
@@ -17,13 +17,15 @@
#include "cmTargetLinkLibrariesCommand.h"
// cmTargetLinkLibrariesCommand
-bool cmTargetLinkLibrariesCommand::InitialPass(std::vector<std::string> const& args)
+bool cmTargetLinkLibrariesCommand::InitialPass(std::vector<std::string> const& argsIn)
{
- if(args.size() < 2)
+ if(argsIn.size() < 2)
{
this->SetError("called with incorrect number of arguments");
return false;
}
+ std::vector<std::string> args;
+ cmSystemTools::ExpandListArguments(argsIn, args);
// add libraries, nothe that there is an optional prefix
// of debug and optimized than can be used
std::vector<std::string>::const_iterator i = args.begin();