]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: fix rpath on shared libraries and executables 12927/head
authorRicardo Dias <rdias@suse.com>
Fri, 13 Jan 2017 20:15:02 +0000 (20:15 +0000)
committerRicardo Dias <rdias@suse.com>
Wed, 18 Jan 2017 12:40:41 +0000 (12:40 +0000)
commit235448879e5e05808e10c2ad8e09f87a05d76179
tree08ec426edad285f8735334c607bcdc674a3af203
parent7c55be9080ab5c6857ef236569c89fe7c0f632f4
cmake: fix rpath on shared libraries and executables

The problem was due to the attempt of CMake to rewrite the RPATH of
the executables, or shared libraries, that didn't have any RPATH linked
during the building phase.

Currently INSTALL_RPATH is already set for all binaries. This patch
sets an empty INSTALL_RPATH for all binaries that don't depend on
any internal (also being built) target.

Signed-off-by: Ricardo Dias <rdias@suse.com>
src/CMakeLists.txt
src/cls/CMakeLists.txt
src/compressor/snappy/CMakeLists.txt
src/compressor/zlib/CMakeLists.txt
src/erasure-code/isa/CMakeLists.txt
src/erasure-code/jerasure/CMakeLists.txt
src/erasure-code/lrc/CMakeLists.txt
src/erasure-code/shec/CMakeLists.txt
src/key_value_store/CMakeLists.txt
src/tracing/CMakeLists.txt