BUG: Use variable instead of retrieving again. Fixes bug: Bug #3476

This commit is contained in:
Andy Cedilnik 2006-10-12 15:30:01 -04:00
parent 9226a9262f
commit d5f31292b2
1 changed files with 1 additions and 1 deletions

View File

@ -1346,7 +1346,7 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets)
if ( cmakeCfgIntDir && *cmakeCfgIntDir && cmakeCfgIntDir[0] != '.' )
{
singleLine.push_back("-C");
singleLine.push_back(mf->GetDefinition("CMAKE_CFG_INTDIR"));
singleLine.push_back(cmakeCfgIntDir);
}
singleLine.push_back("--config");
std::string configFile = mf->GetStartOutputDirectory();;