Hi, I am using CMake/CPack (version 2.8.4) for my project and everything
works fine except for a couple of files that I am trying to package on
Windows. I would like those files to be read-only. I currently have
something like:

 

INSTALL(FILES ${CMAKE_SOURCE_DIR}/myFile DESTINATION myDestination
PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)

 

and it works perfectly fine on Linux and Mac OS X, but not on Windows (using
either ZIP or NSIS). Any idea why this would be the case? Just for testing
purposes, I also tried

 

INSTALL(FILES ${CMAKE_SOURCE_DIR}/myFile DESTINATION myDestination)

 

since the files are originally read-only, but to no avail.

 

Cheers, Alan.

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to