[CMake] permissions for installation directories

Christophe Alexandre christophe.alexandre at lip6.fr
Fri May 16 14:06:46 EDT 2008


Hi all,
Is it possible to modify the permissions of installation directories  
using the INSTALL command ?
When I use a command like :

install(TARGETS mylib DESTINATION lib PERMISSIONS OWNER_READ  
OWNER_WRITE OWNER_EXECUTE
                                                        							 
GROUP_READ GROUP_EXECUTE
                                                        							 
WORLD_READ WORLD_EXECUTE)


the lib directory has the default permissions used by the user  
installing the soft.
How can I control the permissions on that directory ?

Thanks in advance.
Christophe Alexandre





More information about the CMake mailing list