Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cmake] Fix libneko.so loading error when installing to
/usr/local
(#…
…271) * [cmake] Add install library path to rpath This way rpath is correctly set by default, avoiding errors like: `libneko.so.2: cannot open shared object file` when installing to /usr/local/ * [cmake] Don't set LD_LIBRARY_PATH during tests If rpath is set correctly then this is not necessary * [cmake] Clean up rpath settings Only build with install path if RELOCATABLE is on, otherwise we can stick to the default build rpath. We were setting these options to their default values: CMAKE_MACOS_RPATH, CMAKE_SKIP_BUILD_RPATH, CMAKE_SKIP_INSTALL_RPATH
- Loading branch information