[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:
> 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
> I have all the needed permissions in /usr/bin/mybin.
> Here is my INSTALL command in my CMakeLists.txt :
> INSTALL(TARGETS mytarget
> DESTINATION /usr/bin/mybin
> PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
> GROUP_READ GROUP_EXECUTE
> WORLD_READ WORLD_EXECUTE)
> Thank you for your help.
> CMake mailing list
> CMake at cmake.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CMake