diff options
Diffstat (limited to 'Source/cmVTKWrapTclCommand.cxx')
-rw-r--r-- | Source/cmVTKWrapTclCommand.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmVTKWrapTclCommand.cxx b/Source/cmVTKWrapTclCommand.cxx index 0f9b524..f7f0f26 100644 --- a/Source/cmVTKWrapTclCommand.cxx +++ b/Source/cmVTKWrapTclCommand.cxx @@ -17,14 +17,15 @@ #include "cmVTKWrapTclCommand.h" // cmVTKWrapTclCommand -bool cmVTKWrapTclCommand::InitialPass(std::vector<std::string> const& args) +bool cmVTKWrapTclCommand::InitialPass(std::vector<std::string> const& argsIn) { - if(args.size() < 3 ) + if(argsIn.size() < 3 ) { this->SetError("called with incorrect number of arguments"); return false; } - + std::vector<std::string> args; + cmSystemTools::ExpandListArguments(argsIn, args); // keep the library name m_LibraryName = args[0]; |