diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2009-10-09 15:10:06 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2009-10-09 15:10:06 (GMT) |
commit | 8fe2738096cc771bfaebe2f5dd51537e1f1c132e (patch) | |
tree | 52cc2647f4c9db9b5700264987f8ed87f1726304 /Source | |
parent | 89954fe9a26ae2f08fef442d328fc1be9312782b (diff) | |
download | CMake-8fe2738096cc771bfaebe2f5dd51537e1f1c132e.zip CMake-8fe2738096cc771bfaebe2f5dd51537e1f1c132e.tar.gz CMake-8fe2738096cc771bfaebe2f5dd51537e1f1c132e.tar.bz2 |
Added OS Platform (cpu architecture) detection support to windows systems
Diffstat (limited to 'Source')
-rw-r--r-- | Source/kwsys/SystemInformation.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx index 89fdf9b..23d396f 100644 --- a/Source/kwsys/SystemInformation.cxx +++ b/Source/kwsys/SystemInformation.cxx @@ -3358,6 +3358,12 @@ bool SystemInformationImplementation::QueryOSInformation() WSACleanup( ); } this->Hostname = name; + + const char* arch = getenv("PROCESSOR_ARCHITECTURE"); + if(arch) + { + this->OSPlatform = arch; + } #else |