STYLE: fix hidden variable warning
This commit is contained in:
parent
ab409fec89
commit
049e3da2ec
|
@ -1606,9 +1606,9 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets)
|
||||||
depends.erase(depends.begin(), depends.end());
|
depends.erase(depends.begin(), depends.end());
|
||||||
singleLine.push_back(this->GetCMakeInstance()->GetCPackCommand());
|
singleLine.push_back(this->GetCMakeInstance()->GetCPackCommand());
|
||||||
singleLine.push_back("--config");
|
singleLine.push_back("--config");
|
||||||
std::string configFile = mf->GetStartOutputDirectory();;
|
configFile = mf->GetStartOutputDirectory();;
|
||||||
configFile += "/CPackSourceCConfig.cmake";
|
configFile += "/CPackSourceCConfig.cmake";
|
||||||
std::string relConfigFile = "./CPackSourceConfig.cmake";
|
relConfigFile = "./CPackSourceConfig.cmake";
|
||||||
singleLine.push_back(relConfigFile);
|
singleLine.push_back(relConfigFile);
|
||||||
if(cmSystemTools::FileExists(configFile.c_str()))
|
if(cmSystemTools::FileExists(configFile.c_str()))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue