[cmake-developers] [CMake 0011751]: ability to filter INSTALL_RPATH (to not include CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES in particular)

Mantis Bug Tracker mantis at public.kitware.com
Mon Jan 24 13:54:47 EST 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=11751 
====================================================================== 
Reported By:                Rex Dieter
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   11751
Category:                   CMake
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-01-24 13:54 EST
Last Modified:              2011-01-24 13:54 EST
====================================================================== 
Summary:                    ability to filter INSTALL_RPATH (to not include
CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES in particular)
Description: 
Similar to bug http://public.kitware.com/Bug/view.php?id=10238 , what I want is
that CMAKE_INSTALL_RPATH_USE_LINK_PATH not include directories listed in
CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES 

The particular use-case, is for packaging cmake-based projects for a linux
distribution (fedora), where including rpath's for items in
CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES is against policy and considered
harmful.

As it is, there seems to be no easy way to sanely filter cmake rpaths short of
using overly-big hammers like 
* patching cmake-project code to filter on a case-by-case basis 
* use CMAKE_NO_RPATH

Additional Information: 
See also thread,
http://mail.kde.org/pipermail/kde-buildsystem/2011-January/007560.html
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-24 13:54 Rex Dieter     New Issue                                    
======================================================================




More information about the cmake-developers mailing list