[cmake-developers] RPATH bug + patch suggestion

Brad King brad.king at kitware.com
Fri Jan 15 14:54:03 EST 2016


On 01/15/2016 09:47 AM, Lior Goldberg wrote:
> Specifically, I think that the command "FILE(RPATH_REMOVE ...)" is not subtle
> enough, as it removes the compiler's predefined rpath together with the rpath
> added by CMake.

Good catch, thanks.  Patch applied with minor tweaks:

 install: Do not remove compiler-defined RPATH entries
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3ec92267

-Brad



More information about the cmake-developers mailing list