[cmake-commits] andy committed cmGlobalGenerator.cxx 1.157 1.158

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Oct 12 15:30:04 EDT 2006


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv26499/Source

Modified Files:
	cmGlobalGenerator.cxx 
Log Message:
BUG: Use variable instead of retrieving again. Fixes bug: Bug #3476


Index: cmGlobalGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalGenerator.cxx,v
retrieving revision 1.157
retrieving revision 1.158
diff -u -d -r1.157 -r1.158
--- cmGlobalGenerator.cxx	4 Oct 2006 15:11:21 -0000	1.157
+++ cmGlobalGenerator.cxx	12 Oct 2006 19:30:01 -0000	1.158
@@ -1346,7 +1346,7 @@
   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();;



More information about the Cmake-commits mailing list