BUG: Use variable instead of retrieving again. Fixes bug: Bug #3476
This commit is contained in:
parent
9226a9262f
commit
d5f31292b2
|
@ -1346,7 +1346,7 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets)
|
||||||
if ( cmakeCfgIntDir && *cmakeCfgIntDir && cmakeCfgIntDir[0] != '.' )
|
if ( cmakeCfgIntDir && *cmakeCfgIntDir && cmakeCfgIntDir[0] != '.' )
|
||||||
{
|
{
|
||||||
singleLine.push_back("-C");
|
singleLine.push_back("-C");
|
||||||
singleLine.push_back(mf->GetDefinition("CMAKE_CFG_INTDIR"));
|
singleLine.push_back(cmakeCfgIntDir);
|
||||||
}
|
}
|
||||||
singleLine.push_back("--config");
|
singleLine.push_back("--config");
|
||||||
std::string configFile = mf->GetStartOutputDirectory();;
|
std::string configFile = mf->GetStartOutputDirectory();;
|
||||||
|
|
Loading…
Reference in New Issue