summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-06-01 13:18:08 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-06-01 13:18:08 (GMT)
commit8cba2c55f94ae95274224dbebd917084085e5908 (patch)
tree318e5f45e4ad44efdfd5f9db585f94e0ee3ae943 /Source/cmGlobalGenerator.cxx
parentfa858bc22ce2deba9004750d9c48bad4586de09b (diff)
downloadCMake-8cba2c55f94ae95274224dbebd917084085e5908.zip
CMake-8cba2c55f94ae95274224dbebd917084085e5908.tar.gz
CMake-8cba2c55f94ae95274224dbebd917084085e5908.tar.bz2
BUG: fix crash, bug 5121
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 06679fd..99c08d5 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -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
{