ENH: get rid of some extra erase calls
This commit is contained in:
parent
828eebcd31
commit
d999d0240d
@ -1366,9 +1366,6 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets)
|
|||||||
cmCustomCommandLines cpackCommandLines;
|
cmCustomCommandLines cpackCommandLines;
|
||||||
std::vector<std::string> depends;
|
std::vector<std::string> depends;
|
||||||
cmCustomCommandLine singleLine;
|
cmCustomCommandLine singleLine;
|
||||||
cpackCommandLines.erase(cpackCommandLines.begin(), cpackCommandLines.end());
|
|
||||||
singleLine.erase(singleLine.begin(), singleLine.end());
|
|
||||||
depends.erase(depends.begin(), depends.end());
|
|
||||||
singleLine.push_back(this->GetCMakeInstance()->GetCPackCommand());
|
singleLine.push_back(this->GetCMakeInstance()->GetCPackCommand());
|
||||||
if ( cmakeCfgIntDir && *cmakeCfgIntDir && cmakeCfgIntDir[0] != '.' )
|
if ( cmakeCfgIntDir && *cmakeCfgIntDir && cmakeCfgIntDir[0] != '.' )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user