[CMake] cmake install - problem at copy

Clark J. Wang dearvoid at gmail.com
Mon Jul 9 21:46:59 EDT 2007

On 7/9/07, digicapt - cmake <cmake at digicapt.ch> wrote:
> Hi,
> I'm using the version 2.4-patch 6 of cmake on a Fedora core 6 and I have a
> problem with the INSTALL : the generated target works fine (in the build
> directory) but the copy in the destination is changed so that some libraries
> are not found anymore.

Maybe you can set INSTALL_RPATH property for your target.

When I check them, the size of the copied file is different.

INSTALL may relink your executables so the size may be different.

And an nm on the files shows me that all is there but the addresses have
> changed.
> I have all the needed permissions in /usr/bin/mybin.
> Here is my INSTALL command in my CMakeLists.txt :
>         RUNTIME
>         DESTINATION /usr/bin/mybin
>                     GROUP_READ GROUP_EXECUTE
>                     WORLD_READ WORLD_EXECUTE)
> Thank you for your help.
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070710/804703ad/attachment-0001.html

More information about the CMake mailing list