CMake: do not set an invalid INSTALL_RPATH for (plugin) libraries
CMAKE_INSTALL_RPATH also applies to libraries such as plugins. This should not happen when relative RPATHs (through $ORIGIN) are in use, so fix that. Change-Id: I154d93ba6ed66c2f78a42b25e352b5b54e9b8818 Reviewed-on: https://code.wireshark.org/review/31609 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
This commit is contained in:
parent
0c89d8c33a
commit
7c1d99cb89
|
@ -42,6 +42,7 @@ macro(ADD_PLUGIN_LIBRARY _plugin _subfolder)
|
|||
|
||||
set_target_properties(${_plugin} PROPERTIES
|
||||
LIBRARY_OUTPUT_DIRECTORY ${PLUGIN_DIR}/${_subfolder}
|
||||
INSTALL_RPATH ""
|
||||
)
|
||||
|
||||
add_dependencies(plugins ${_plugin})
|
||||
|
|
Loading…
Reference in New Issue