[cmake-developers] [CMake 0013537]: 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:47:18 EDT 2012
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=13537
======================================================================
Reported By: Jamie Kirkpatrick
Assigned To:
======================================================================
Project: CMake
Issue ID: 13537
Category: (No Category)
Reproducibility: have not tried
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2012-09-14 06:47 EDT
Last Modified: 2012-09-14 06:47 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:47 Jamie KirkpatrickNew Issue
======================================================================
More information about the cmake-developers
mailing list