]> SALOME platform Git repositories - tools/simanio.git/commitdiff
Salome HOME
Set proper permissions for the scripts
authorvsr <vsr@opencascade.com>
Mon, 10 Feb 2014 14:42:43 +0000 (18:42 +0400)
committervsr <vsr@opencascade.com>
Mon, 10 Feb 2014 14:42:43 +0000 (18:42 +0400)
scripts/CMakeLists.txt

index dd9f69f2316863817f23fa3e1806a38b69940a59..0586463bcfb216d147e6a7dc46bc77253366762b 100644 (file)
@@ -17,7 +17,7 @@
 #  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})