Full path to dependency shows up in executable rpath
Hi, When I link my executable to a shared library target, the full path to that library shows up in the executable when using ldd.
I used TARGET_LINK_LIBRARIES(myExe myLibrary)
I set SET(CMAKE_SKIP_RPATH 1)
and it works for other external libraries but not for other CMake targets.
Is there a way to remove the writing of the absolute path to the library in the executable ? Thanks.
Edited by Thibault Riou