[CMake] Removing RPATH from existing binaries

Federico Milano fmilano at gmail.com
Sat Jan 5 06:06:31 EST 2019


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
(PROGRAMS...)
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?

Thanks in advance,

Federico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190105/28519154/attachment.html>


More information about the CMake mailing list