On 7/9/07, digicapt - cmake <[EMAIL PROTECTED]> 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 :

INSTALL(TARGETS mytarget
        RUNTIME
        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@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to