mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-26 08:08:24 -05:00
ENH: expand variables in arguments before the commands get them
This commit is contained in:
@@ -38,9 +38,7 @@ bool cmAddTestCommand::InitialPass(std::vector<std::string> const& args)
|
||||
for (std::vector<std::string>::const_iterator j = args.begin();
|
||||
j != args.end(); ++j)
|
||||
{
|
||||
temp = *j;
|
||||
m_Makefile->ExpandVariablesInString(temp);
|
||||
m_Args.push_back(temp);
|
||||
m_Args.push_back(*j);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user