BUG: fix crash, bug 5121

This commit is contained in:
Bill Hoffman 2007-06-01 09:18:08 -04:00
parent fa858bc22c
commit 8cba2c55f9
1 changed files with 1 additions and 1 deletions

View File

@ -1302,7 +1302,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);
}
else // TODO: This is a hack. Should be something to do with the generator
{