mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-01 04:03:24 +03:00
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:
1 parent
3250a7e535
commit
f2c49f59d8
1 file changed
+1
-4
@@ -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;
|
||||
}
|
||||
argnDef += expandedArgn;
|
||||
cmSystemTools::ReplaceString(tmps, "${ARGN}", argnDef.c_str());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user