summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-03-12 17:46:27 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-03-12 17:46:27 (GMT)
commite58117b2ba6c4fe823c9b5bebc4ae1d1fc9e0bca (patch)
treef7f5abbd98bb296f202a694fbacb357c587daf48 /Modules
parent2a3011b536fc65bda50fea16f5c5a3444e6bccc3 (diff)
parent20681c9e0573fcc7f1a9870c54a4edd5fde14568 (diff)
downloadCMake-e58117b2ba6c4fe823c9b5bebc4ae1d1fc9e0bca.zip
CMake-e58117b2ba6c4fe823c9b5bebc4ae1d1fc9e0bca.tar.gz
CMake-e58117b2ba6c4fe823c9b5bebc4ae1d1fc9e0bca.tar.bz2
Merge topic 'Win-HOST_SYSTEM_PROCESSOR'
20681c9 fix Windows processor detection
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeDetermineSystem.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineSystem.cmake b/Modules/CMakeDetermineSystem.cmake
index 20c1541..3a95d2a 100644
--- a/Modules/CMakeDetermineSystem.cmake
+++ b/Modules/CMakeDetermineSystem.cmake
@@ -73,7 +73,7 @@ if(CMAKE_HOST_UNIX)
else()
if(CMAKE_HOST_WIN32)
set (CMAKE_HOST_SYSTEM_NAME "Windows")
- if (ENV{PROCESSOR_ARCHITEW6432})
+ if (DEFINED ENV{PROCESSOR_ARCHITEW6432})
set (CMAKE_HOST_SYSTEM_PROCESSOR "$ENV{PROCESSOR_ARCHITEW6432}")
else()
set (CMAKE_HOST_SYSTEM_PROCESSOR "$ENV{PROCESSOR_ARCHITECTURE}")