From 0a277ce6f47a960047d72e2aee0ec9c95a89351d Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Wed, 4 Mar 2015 22:44:07 +0100 Subject: [PATCH] cmake: fix permissions on openEMS.sh Signed-off-by: Thorsten Liebig --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b559c2..66848a4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -170,6 +170,9 @@ TARGET_LINK_LIBRARIES( openEMS ) INSTALL( TARGETS openEMS DESTINATION bin ) +INSTALL( FILES openEMS.sh + DESTINATION bin + PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE) INSTALL( DIRECTORY matlab DESTINATION share/openEMS ) # TODO mpi, tarball, debug, release