cmake: Tweak RPATH to fix linking libjami for local installs.
* CMakeLists.txt: Tweak the setting of the runtime path (RPATH) to add the 'lib' directory for local (non-system-wide) installs, to fix the newly-surfaced issue with linking libjami for local installs. Without this, the executable would be linked against the libjami shared library from daemon/src/.libs for the install RPATH as well, which for some reason as of recently gets omitted from the install RPATH after 'make install', resulting in an error like the following when trying to launch jami: ./install/bin/jami: error while loading shared libraries: libjami.so.0: cannot open shared object file: No such file or directory Change-Id: If7e172b54728c72ae649fcf936a767b5d9c99488
Please register or sign in to comment