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:
parent
8d0550e4e2
commit
ae035f7c90
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user