[cmake-developers] [CMake 0015274]: CMAKE_SYSTEM_PROCESSOR not working

Mantis Bug Tracker mantis at public.kitware.com
Mon Dec 1 14:35:31 EST 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15274 
====================================================================== 
Reported By:                santa scrooge
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15274
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-12-01 14:35 EST
Last Modified:              2014-12-01 14:35 EST
====================================================================== 
Summary:                    CMAKE_SYSTEM_PROCESSOR not working
Description: 
if(CUDA_VERSION VERSION_GREATER "5.0" AND CMAKE_CROSSCOMPILING AND
${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm" AND EXISTS
"${CUDA_TOOLKIT_ROOT_DIR}/targets/armv7-linux-     gnueabihf")

this is found in FindCUDA.cmake. It reports unspecified arguments. I check it by
message() and found "CMAKE_SYSTEM_PROCESSOR" is empty.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-12-01 14:35 santa scrooge  New Issue                                    
======================================================================



More information about the cmake-developers mailing list