MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0013397 | CMake | CMake | public | 2012-07-12 17:05 | 2013-06-04 08:33 | |||||
Reporter | carsten schiemann | |||||||||
Assigned To | Brad King | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||
Status | closed | Resolution | fixed | |||||||
Platform | Apple Mac | OS | OS X | OS Version | 10.4.10 | |||||
Product Version | CMake 2.8.8 | |||||||||
Target Version | CMake 2.8.11 | Fixed in Version | CMake 2.8.11 | |||||||
Summary | 0013397: frameworks are not transitive like libraries in the project dependency graph | |||||||||
Description | while normal target_link_libraries setups with static libraries forward the dependency to targets adding the static library, this is broken for frameworks. the library dependency is kept but the related Framework Search Path is forgotten. there was no problem as long as the static library was the only one adding a framework. adding a framework in "/System/Library/Frameworks" to the the final application seems ok too (i did add cocoa). adding a framework in a custom location (like /Library/Frameworks) breaks the forwarding. | |||||||||
Steps To Reproduce | a rough description of my setup: static library A find_library(LIBONE libOne /some) target_link_libraries(A ${LIBONE}) #/some/libOne.framework application B target_link_libraries(B A) find_library(LIBTWO libTwo /somemore) target_link_libraries(B LIBTWO) #/somemore/libTwo.framework generating the Xcode project file shows the Framework Search Path to "/somemore" but it forgot "/some" | |||||||||
Additional Information | i added a patch which seems to fix the issue. but as my understanding of this code is slim at best i might have missed something. | |||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | AnalyseLibDependencies-Framework-forward.patch (462) 2012-07-12 17:05 https://public.kitware.com/Bug/file/4392/AnalyseLibDependencies-Framework-forward.patch | |||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2012-07-12 17:05 | carsten schiemann | New Issue | ||||||||
2012-07-12 17:05 | carsten schiemann | File Added: AnalyseLibDependencies-Framework-forward.patch | ||||||||
2012-07-16 09:21 | Brad King | Note Added: 0030053 | ||||||||
2012-07-16 09:21 | Brad King | Status | new => backlog | |||||||
2012-12-07 13:37 | Brad King | Assigned To | => Brad King | |||||||
2012-12-07 13:37 | Brad King | Status | backlog => assigned | |||||||
2012-12-07 13:37 | Brad King | Target Version | => CMake 2.8.11 | |||||||
2012-12-07 14:05 | Brad King | Note Added: 0031852 | ||||||||
2012-12-07 14:05 | Brad King | Status | assigned => resolved | |||||||
2012-12-07 14:05 | Brad King | Resolution | open => fixed | |||||||
2012-12-07 14:05 | Brad King | Fixed in Version | => CMake 2.8.11 | |||||||
2012-12-07 15:50 | Brad King | Note Added: 0031855 | ||||||||
2013-05-06 09:32 | Robert Maynard | Note Added: 0032984 | ||||||||
2013-05-06 09:32 | Robert Maynard | Status | resolved => closed | |||||||
2013-06-04 08:33 | Brad King | Relationship added | related to 0014191 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|