[cmake-commits] alex committed cmGlobalGenerator.cxx 1.179 1.180

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Jun 7 09:37:56 EDT 2007


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

Modified Files:
	cmGlobalGenerator.cxx 
Log Message:

BUG: fix #5137, now with the modified CMakeDetermineSystem.cmake the
CMAKE_HOST_SYSTEM_xxx variables have to be preset, not the CMAKE_SYSTEM_xxx
ones

Alex


Index: cmGlobalGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalGenerator.cxx,v
retrieving revision 1.179
retrieving revision 1.180
diff -u -d -r1.179 -r1.180
--- cmGlobalGenerator.cxx	1 Jun 2007 13:18:08 -0000	1.179
+++ cmGlobalGenerator.cxx	7 Jun 2007 13:37:54 -0000	1.180
@@ -234,7 +234,7 @@
     cmOStringStream windowsVersionString;
     windowsVersionString << osvi.dwMajorVersion << "." << osvi.dwMinorVersion;
     windowsVersionString.str();
-    mf->AddDefinition("CMAKE_SYSTEM_VERSION", 
+    mf->AddDefinition("CMAKE_HOST_SYSTEM_VERSION", 
                       windowsVersionString.str().c_str());
 #endif
     // Read the DetermineSystem file



More information about the Cmake-commits mailing list