The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14712 
====================================================================== 
Reported By:                enricosorichetti
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14712
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-01-20 09:45 EST
Last Modified:              2014-01-20 09:45 EST
====================================================================== 
Summary:                    improper setting of CMAKE_HOST_SYSTEM_PROCESSOR
Description: 
On Apple Mac OS x 10.9.1 running on an
IMAC 2.93 GHz Intel Core 7

uname -m 
reports ==> x86_64

while 
cmake --system-information  

reports ==> CMAKE_HOST_SYSTEM_PROCESSOR "i386"

should be ==> CMAKE_HOST_SYSTEM_PROCESSOR "x86_64"



Steps to Reproduce: 
run
cmake --system-information  

Additional Information: 
a quick fix could be 
instead of ....
if(CMAKE_HOST_SYSTEM_NAME MATCHES "Linux|CYGWIN.*")
use ...
if(CMAKE_HOST_SYSTEM_NAME MATCHES "Linux|CYGWIN.*|Darwin")

tested  in my environment/setup for my project
and provides the info as needed 


on CENTOS 6.5  ( running as a VMWARE virtual machine)
cmake version 2.6-patch 4

cmake --system-information  

correctly reports
==> CMAKE_HOST_SYSTEM_PROCESSOR "x86_64"

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-01-20 09:45 enricosorichettiNew Issue                                    
======================================================================

-- 

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to