[cmake-developers] [CMake 0013536]: CMAKE_CXX_HAS_ISYSROOT and CMAKE_C_HAS_ISYSROOT not set correctly for clang++/clang

Mantis Bug Tracker mantis at public.kitware.com
Fri Sep 14 06:44:20 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13536 
====================================================================== 
Reported By:                Jamie Kirkpatrick
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13536
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-09-14 06:44 EDT
Last Modified:              2012-09-14 06:44 EDT
====================================================================== 
Summary:                    CMAKE_CXX_HAS_ISYSROOT and CMAKE_C_HAS_ISYSROOT not
set correctly for clang++/clang
Description: 
For GNU compilers these are detected by parsing the output of the help command
for the compiler - clang unfortunately does not mention these flags in its
output so detection fails.

This causes the CMAKE_OSX_SYSROOT variable to be ignored, resulting in
compilation against the wrong SDK.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-09-14 06:44 Jamie KirkpatrickNew Issue                                    
======================================================================




More information about the cmake-developers mailing list