[cmake-developers] [CMake 0014712]: improper setting of CMAKE_HOST_SYSTEM_PROCESSOR
Mantis Bug Tracker
mantis at public.kitware.com
Mon Jan 20 09:45:44 EST 2014
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
======================================================================
More information about the cmake-developers
mailing list