diff options
Diffstat (limited to 'Source/cmITKWrapTclCommand.cxx')
-rw-r--r-- | Source/cmITKWrapTclCommand.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmITKWrapTclCommand.cxx b/Source/cmITKWrapTclCommand.cxx index e762ce5..c7a2cc8 100644 --- a/Source/cmITKWrapTclCommand.cxx +++ b/Source/cmITKWrapTclCommand.cxx @@ -59,15 +59,13 @@ cmITKWrapTclCommand::AddDependencies(cmDependInformation const *info, } // cmITKWrapTclCommand -bool cmITKWrapTclCommand::InitialPass(std::vector<std::string> const& argsIn) +bool cmITKWrapTclCommand::InitialPass(std::vector<std::string> const& args) { - if(argsIn.size() < 2 ) + if(args.size() < 2 ) { this->SetError("called with incorrect number of arguments"); return false; } - std::vector<std::string> args; - cmSystemTools::ExpandListArguments(argsIn, args); // keep the target name m_TargetName = args[0]; m_Target = &m_Makefile->GetTargets()[m_TargetName.c_str()]; |