MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014908 | CMake | CMake | public | 2014-05-06 16:33 | 2014-11-03 08:38 |
Reporter | James Bigler | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Apple | OS | OSX | OS Version | 10.8 |
Product Version | CMake 2.8.12.2 | ||||
Target Version | Fixed in Version | CMake 3.0 | |||
Summary | 0014908: CMAKE_OSX_SYSROOT being ignored with frameworks in /Library/Frameworks | ||||
Description | I have CMAKE_OSX_SYSROOT defined as something: set(CMAKE_OSX_SYSROOT "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk" CACHE LIST "OSX sysroot SDK directory" FORCE) Then later I do a find_library command and it finds a library framework in /Library/Frameworks/mylib.framework The cache entry for mylib has the full path to the library, but later during linking it removes the full path and instead uses the name directly: -framework mylib Unfortunately, because the -isysroot command is invoked the linker no longer looks in the standard locations. I have to use -F /Library/Frameworks -framework mylib. I can't even use -framework /Library/Frameworks/mylib.framework | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-05-06 16:33 | James Bigler | New Issue | |||
2014-05-07 08:43 | Brad King | Note Added: 0035832 | |||
2014-05-07 14:03 | James Bigler | Note Added: 0035842 | |||
2014-05-07 14:22 | James Bigler | Note Added: 0035843 | |||
2014-05-07 15:27 | Brad King | Status | new => resolved | ||
2014-05-07 15:27 | Brad King | Resolution | open => fixed | ||
2014-05-07 15:27 | Brad King | Fixed in Version | => CMake 3.0 | ||
2014-11-03 08:38 | Robert Maynard | Note Added: 0037133 | |||
2014-11-03 08:38 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|