MantisBT - CMake
View Issue Details
0010337CMakeCMakepublic2010-02-26 06:372010-12-14 18:50
Michael Wild 
David Cole 
normalmajoralways
closedfixed 
CMake-2-8 
 
0010337: GetPrerequisites.cmake should allow an override when deciding whether an item belongs to the system or not
Sometimes it is necessary to distribute a library in the installer even though it comes from a "system" location, such as /usr/lib, e.g. when it was installed with a binary installer which puts it there.

Similar to gp_item_default_embedded_path_override and gp_resolve_item_override it would make sense to have a gp_resolved_file_type_override function which one could use to override this decision.
I came across this problem when using the binary distribution of Qt-Cocoa-4.6 to build ParaView-CVS. Problem is, that libQtCLucene.dylib gets installed in /usr/lib, and even when forcing the BundleUtilities to include it in the application bundle, the executables' and libraries' install_name references are not updated to reflect this.
No tags attached.
Issue History
2010-02-26 06:37Michael WildNew Issue
2010-02-26 09:38Michael WildNote Added: 0019643
2010-02-26 13:16Bill HoffmanStatusnew => assigned
2010-02-26 13:16Bill HoffmanAssigned To => David Cole
2010-03-08 16:26James BiglerNote Added: 0019763
2010-03-17 11:57David ColeNote Added: 0019937
2010-03-17 11:57David ColeStatusassigned => resolved
2010-03-17 11:57David ColeResolutionopen => fixed
2010-12-14 18:50David ColeNote Added: 0024113
2010-12-14 18:50David ColeStatusresolved => closed

Notes
(0019643)
Michael Wild   
2010-02-26 09:38   
Patch can be found here: http://wildcodes.com/git/CMake/commit/?h=patches/GetPrerequisitesHook&id=71f4721c6fdc0b99e1ff3afd94b904015735cb3e [^]
(0019763)
James Bigler   
2010-03-08 16:26   
We were able to use this patch with success on our project. It would be nice to see this low risk patch accepted into the mainline.
(0019937)
David Cole   
2010-03-17 11:57   
Applied to the shared CMake git repo on master:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=beda5eab398ad117e2fe17cbbca1e65843abc74d [^]
(0024113)
David Cole   
2010-12-14 18:50   
Closing bugs that have been resolved for more than 3 months without any further updates.