MantisBT - CMake
View Issue Details
0013537CMake(No Category)public2012-09-14 06:472012-09-14 13:19
Jamie Kirkpatrick 
 
normalmajorhave not tried
closedduplicate 
Mac OS X10.7.1
CMake 2.8.9 
 
0013537: CMAKE_CXX_HAS_ISYSROOT and CMAKE_C_HAS_ISYSROOT not set correctly for clang++/clang
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.
No tags attached.
duplicate of 0013536closed Brad King CMAKE_CXX_HAS_ISYSROOT and CMAKE_C_HAS_ISYSROOT not set correctly for clang++/clang 
Issue History
2012-09-14 06:47Jamie KirkpatrickNew Issue
2012-09-14 07:17Jamie KirkpatrickNote Added: 0031028
2012-09-14 07:41Rolf Eike BeerStatusnew => closed
2012-09-14 07:41Rolf Eike BeerResolutionopen => duplicate
2012-09-14 13:19David ColeRelationship addedduplicate of 0013536

Notes
(0031028)
Jamie Kirkpatrick   
2012-09-14 07:17   
The same is also true for CMAKE_C_OSX_DEPLOYMENT_TARGET_FLAG and CMAKE_CXX_OSX_DEPLOYMENT_TARGET_FLAG.