View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013536CMakeCMakepublic2012-09-14 06:442013-03-04 08:38
ReporterJamie Kirkpatrick 
Assigned ToBrad King 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSMac OS XOS Version10.8.1
Product VersionCMake 2.8.9 
Target VersionCMake 2.8.10Fixed in VersionCMake 2.8.10 
Summary0013536: 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 Filespatch file icon 70169ec1+0001-OS-X-Add-platform-specific-Clang-compiler-info-files.patch [^] (2,891 bytes) 2012-09-17 15:38 [Show Content]

 Relationships
has duplicate 0013537closed CMAKE_CXX_HAS_ISYSROOT and CMAKE_C_HAS_ISYSROOT not set correctly for clang++/clang 

  Notes
(0031029)
Jamie Kirkpatrick (reporter)
2012-09-14 07:43

The same is also true for CMAKE_C_OSX_DEPLOYMENT_TARGET_FLAG and CMAKE_CXX_OSX_DEPLOYMENT_TARGET_FLAG.
(0031037)
Brad King (manager)
2012-09-17 15:38

Please test "70169ec1+0001-OS-X-Add-platform-specific-Clang-compiler-info-files.patch". Thanks.
(0031040)
Jamie Kirkpatrick (reporter)
2012-09-18 04:09

Patch works great.
(0031041)
Brad King (manager)
2012-09-18 07:50

Thanks for testing! Applied:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=011d5a4b [^]
(0032451)
Robert Maynard (manager)
2013-03-04 08:38

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-09-14 06:44 Jamie Kirkpatrick New Issue
2012-09-14 07:43 Jamie Kirkpatrick Note Added: 0031029
2012-09-14 13:19 David Cole Relationship added has duplicate 0013537
2012-09-17 15:38 Brad King Assigned To => Brad King
2012-09-17 15:38 Brad King Status new => assigned
2012-09-17 15:38 Brad King File Added: 70169ec1+0001-OS-X-Add-platform-specific-Clang-compiler-info-files.patch
2012-09-17 15:38 Brad King Note Added: 0031037
2012-09-18 04:09 Jamie Kirkpatrick Note Added: 0031040
2012-09-18 07:50 Brad King Note Added: 0031041
2012-09-18 07:50 Brad King Status assigned => resolved
2012-09-18 07:50 Brad King Resolution open => fixed
2012-09-18 07:50 Brad King Fixed in Version => CMake 2.8.10
2012-09-18 07:50 Brad King Target Version => CMake 2.8.10
2013-03-04 08:38 Robert Maynard Note Added: 0032451
2013-03-04 08:38 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team