From 8cba2c55f94ae95274224dbebd917084085e5908 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 1 Jun 2007 09:18:08 -0400 Subject: BUG: fix crash, bug 5121 --- Source/cmGlobalGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v0.12