From fbb01944c21ea0ff6268ca4d7d350cccaf37f666 Mon Sep 17 00:00:00 2001
From: Zach Mullen <zach.mullen@kitware.com>
Date: Fri, 9 Oct 2009 11:10:06 -0400
Subject: [PATCH] Added OS Platform (cpu architecture) detection support to
 windows systems

---
 SystemInformation.cxx | 6 ++++++
 kwsysDateStamp.cmake  | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/SystemInformation.cxx b/SystemInformation.cxx
index 89fdf9b..23d396f 100644
--- a/SystemInformation.cxx
+++ b/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
 
diff --git a/kwsysDateStamp.cmake b/kwsysDateStamp.cmake
index 3dbad17..c6af273 100644
--- a/kwsysDateStamp.cmake
+++ b/kwsysDateStamp.cmake
@@ -18,4 +18,4 @@ SET(KWSYS_DATE_STAMP_YEAR  2009)
 SET(KWSYS_DATE_STAMP_MONTH 10)
 
 # KWSys version date day component.  Format is DD.
-SET(KWSYS_DATE_STAMP_DAY   08)
+SET(KWSYS_DATE_STAMP_DAY   09)
-- 
GitLab