diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-06-07 13:37:54 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-06-07 13:37:54 (GMT) |
commit | ae035f7c90e507ac20244ea00b3045ef31b19ed8 (patch) | |
tree | d961d450e4c737235be67f6c99692681bef1ebc2 | |
parent | 8d0550e4e22bf9dfa4b22fc7abf5d17489ddb13a (diff) | |
download | CMake-ae035f7c90e507ac20244ea00b3045ef31b19ed8.zip CMake-ae035f7c90e507ac20244ea00b3045ef31b19ed8.tar.gz CMake-ae035f7c90e507ac20244ea00b3045ef31b19ed8.tar.bz2 |
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
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 99c08d5..f3d3555 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -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 |