aboutsummaryrefslogtreecommitdiffstats
path: root/codecs
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2019-01-21 10:56:57 +0000
committerPeter Wu <peter@lekensteyn.nl>2019-01-22 00:55:40 +0000
commit4f46a2af88e59654673aeb7cb55d1f55c4251a73 (patch)
tree59c56bec71f7245a1911bacca60ad310b9ca52c1 /codecs
parent020c90fd36a6760bf5c2a776bf97dfa448fb40e9 (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 'codecs')
-rw-r--r--codecs/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/codecs/CMakeLists.txt b/codecs/CMakeLists.txt
index aba9e8a41e..bf88244108 100644
--- a/codecs/CMakeLists.txt
+++ b/codecs/CMakeLists.txt
@@ -60,6 +60,7 @@ set_target_properties(wscodecs PROPERTIES
LINK_FLAGS "${WS_LINK_FLAGS}"
VERSION "0.0.0" SOVERSION 0
FOLDER "DLLs"
+ INSTALL_RPATH "${LIBRARY_INSTALL_RPATH}"
)
target_link_libraries(wscodecs ${wscodecs_LIBS})