View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013537CMake(No Category)public2012-09-14 06:472012-09-14 13:19
ReporterJamie Kirkpatrick 
Assigned To 
PrioritynormalSeveritymajorReproducibilityhave not tried
StatusclosedResolutionduplicate 
PlatformOSMac OS XOS Version10.7.1
Product VersionCMake 2.8.9 
Target VersionFixed in Version 
Summary0013537: CMAKE_CXX_HAS_ISYSROOT and CMAKE_C_HAS_ISYSROOT not set correctly for clang++/clang
DescriptionFor 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.
TagsNo tags attached.
Attached Files

 Relationships
duplicate of 0013536closedBrad King CMAKE_CXX_HAS_ISYSROOT and CMAKE_C_HAS_ISYSROOT not set correctly for clang++/clang 

  Notes
(0031028)
Jamie Kirkpatrick (reporter)
2012-09-14 07:17

The same is also true for CMAKE_C_OSX_DEPLOYMENT_TARGET_FLAG and CMAKE_CXX_OSX_DEPLOYMENT_TARGET_FLAG.

 Issue History
Date Modified Username Field Change
2012-09-14 06:47 Jamie Kirkpatrick New Issue
2012-09-14 07:17 Jamie Kirkpatrick Note Added: 0031028
2012-09-14 07:41 Rolf Eike Beer Status new => closed
2012-09-14 07:41 Rolf Eike Beer Resolution open => duplicate
2012-09-14 13:19 David Cole Relationship added duplicate of 0013536


Copyright © 2000 - 2018 MantisBT Team