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
This commit is contained in:
Alexander Neundorf 2007-06-07 09:37:54 -04:00
parent 8d0550e4e2
commit ae035f7c90
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ cmGlobalGenerator::EnableLanguage(std::vector<std::string>const& languages,
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