# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-# [ files to be installed ]
+# [ scripts to be installed ]
FILE(GLOB _install_FILES "${CMAKE_CURRENT_SOURCE_DIR}/*.sh")
-
-INSTALL(FILES ${_install_FILES} DESTINATION share/simanio/misc)
+SET(_perms OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
+INSTALL(FILES ${_install_FILES} DESTINATION share/simanio/misc PERMISSIONS ${_perms})