FindKDE4Internal.cmake: only conditionally set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)?

Rex Dieter rdieter at math.unl.edu
Mon Jan 24 19:53:51 CET 2011


Alexander Neundorf wrote:

> What CMAKE_INSTALL_RPATH_USE_LINK_PATH does is that it adds the
> directories used for linking the executable to the RPATH of the installed
> executable. E.g. if executable foo has been linked against
> /opt/bar/lib/libbar.so and /home/alex/lib/libblub.so then /opt/bar/lib/
> and /home/alex/lib/ are added to the RPATH automatically.

and cmake strips those if CMAKE_INSTALL_RPATH_USE_LINK_PATH is false?  Oh my 
that's bad behavior, imo.

-- Rex



More information about the Kde-buildsystem mailing list