[CMake] cmake install - problem at copy

digicapt - cmake cmake at digicapt.ch
Mon Jul 9 08:37:15 EDT 2007


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.

When I check them, the size of the copied file is 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.



More information about the CMake mailing list