diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2019-01-21 10:56:57 +0000 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2019-01-22 00:55:40 +0000 |
commit | 4f46a2af88e59654673aeb7cb55d1f55c4251a73 (patch) | |
tree | 59c56bec71f7245a1911bacca60ad310b9ca52c1 /wiretap/CMakeLists.txt | |
parent | 020c90fd36a6760bf5c2a776bf97dfa448fb40e9 (diff) |
CMake: Set a direct rpath for libraries
Instead of using "$ORIGIN/../lib" just use "$ORIGIN".
Also be explicit in configuring the relative RPATH. We don't want
to assume a default relative path, in case more targets are addded,
out of caution.
Change-Id: I3b7f5e8de7be8bb30aca3b433212113d876c4163
Reviewed-on: https://code.wireshark.org/review/31647
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'wiretap/CMakeLists.txt')
-rw-r--r-- | wiretap/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wiretap/CMakeLists.txt b/wiretap/CMakeLists.txt index 62877f03ab..269129702a 100644 --- a/wiretap/CMakeLists.txt +++ b/wiretap/CMakeLists.txt @@ -116,6 +116,7 @@ set_target_properties(wiretap PROPERTIES LINK_FLAGS "${WS_LINK_FLAGS}" VERSION "0.0.0" SOVERSION 0 FOLDER "DLLs" + INSTALL_RPATH "${LIBRARY_INSTALL_RPATH}" ) ABICHECK(libwiretap) |