On 2019 M01 5, Sat 08:06:31 CET Federico Milano wrote:
> Hi. When packaging my application, I'm using install (FILES...) to copy
> some third party executables to my binary folder.
> 1. I do not know if I'm doing it right or if I should use install
> 2. Some of the binaries have a RPATH, and I want to remove it. Is there any
> CMake macro/function to do that, or should I call directly chrpath?
if you look at the generated cmake_install.cmake scripts, you'll see the calls
cmake uses to modify the RPATH when installing, I think it's some undocumented
subfunction of the file() command.