From d5f31292b251ed3c7fc3a130693f5eb0f269a3bd Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 12 Oct 2006 15:30:01 -0400 Subject: [PATCH] BUG: Use variable instead of retrieving again. Fixes bug: Bug #3476 --- Source/cmGlobalGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 91ef6b34f..49000b436 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -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();;