diff options
author | Brad King <brad.king@kitware.com> | 2013-03-12 17:46:27 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-03-12 17:46:27 (GMT) |
commit | e58117b2ba6c4fe823c9b5bebc4ae1d1fc9e0bca (patch) | |
tree | f7f5abbd98bb296f202a694fbacb357c587daf48 /Modules | |
parent | 2a3011b536fc65bda50fea16f5c5a3444e6bccc3 (diff) | |
parent | 20681c9e0573fcc7f1a9870c54a4edd5fde14568 (diff) | |
download | CMake-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.cmake | 2 |
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}") |