diff options
author | Brad King <brad.king@kitware.com> | 2020-01-14 16:56:01 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-01-14 17:03:06 (GMT) |
commit | d92bf9e84f3ed28c5418dddb1cc281e67e2accce (patch) | |
tree | 5e2ccdf71ba5700bd8c14a58cc95998636311014 /Source/cmQtAutoMocUic.cxx | |
parent | 710371ca2f5032462e8dc352da869834bb421261 (diff) | |
download | CMake-d92bf9e84f3ed28c5418dddb1cc281e67e2accce.zip CMake-d92bf9e84f3ed28c5418dddb1cc281e67e2accce.tar.gz CMake-d92bf9e84f3ed28c5418dddb1cc281e67e2accce.tar.bz2 |
Enable RPATH for CMake's own binaries by default
Reconcile the changes made by:
* commit ae62f66033 (ENH: CMake does not need RPATHs at all for its own executables, 2006-03-01, v2.4.0~380)
* commit a056cffc5b (COMP: enable RPATH if any of the CMAKE_USE_SYSTEM_XXX variables is enabled, 2007-08-28, v2.6.0~1183)
* commit c0108d1e07 (COMP: use RPATH is building QtDialog and the Qt libs are not in /lib or /usr/lib, 2007-11-05, v2.6.0~915)
The overall goal of those changes was to get the RPATH set for external
libraries when needed and also to avoid re-linking or other RPATH
editing on installation. We can use a simpler approach to satisfy both
goals: always use RPATH entries for libraries found externally. If
there are no such libraries we will get no RPATH. If there are such
libraries that are not in standard paths we will get a RPATH that points
at them. This will work for running either from the build tree or the
install tree, so we can use the same for both to avoid editing on
installation.
Fixes: #20185
Diffstat (limited to 'Source/cmQtAutoMocUic.cxx')
0 files changed, 0 insertions, 0 deletions