[CMake] NO_SOURCE_PERMISSIONS has no effect on FILE(INSTALL ...)

Angel Tsankov fn42551 at fmi.uni-sofia.bg
Wed Sep 15 17:31:43 EDT 2010


On 09/16/2010 12:09 AM, Angel Tsankov wrote:
> Why does FILE(INSTALL ...) try to set permissions on destination files
> even when I pass NO_SOURCE_PERMISSIONS?
>

This happens when installing a directory:

FILE(INSTALL "dir" DESTINATION "/usr/share/icons/oxygen" 
NO_SOURCE_PERMISSIONS)

Is it possible to skip setting any permissions when installing a 
directory that already exists at the destination?


Regards,
Angel Tsankov



More information about the CMake mailing list