cmMacroCommand: Remove condition around ARGN computation.
An empty string is appended if the condition is false, which is ok for this commit.
This commit is contained in:
parent
3250a7e535
commit
f2c49f59d8
|
@ -162,10 +162,7 @@ bool cmMacroHelperCommand::InvokeInitialPass
|
|||
if (tmps.find("${ARGN}") != std::string::npos)
|
||||
{
|
||||
std::string argnDef;
|
||||
if (expandedArgs.size() > this->Args.size() - 1)
|
||||
{
|
||||
argnDef += expandedArgn;
|
||||
}
|
||||
cmSystemTools::ReplaceString(tmps, "${ARGN}", argnDef.c_str());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue