Skip to content

Commit 7fb9c5f

Browse files
authored
Merge pull request #11 from DragonRuby/alexdenisov/fix-file-permissions
Fix permissions of mruby binaries
2 parents b5a3f55 + b8ea532 commit 7fb9c5f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

cmake/mruby.cmake

+16
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ add_dependencies(mruby_binary mruby)
3232
install(
3333
FILES $<TARGET_FILE:mruby_binary>
3434
DESTINATION ${CMAKE_INSTALL_BINDIR}
35+
PERMISSIONS
36+
OWNER_EXECUTE
37+
OWNER_WRITE
38+
OWNER_READ
39+
GROUP_EXECUTE
40+
GROUP_READ
41+
WORLD_EXECUTE
42+
WORLD_READ
3543
RENAME lightstorm-mruby)
3644

3745
add_executable(mrbc_binary IMPORTED GLOBAL)
@@ -40,6 +48,14 @@ add_dependencies(mrbc_binary mruby)
4048
install(
4149
FILES $<TARGET_FILE:mrbc_binary>
4250
DESTINATION ${CMAKE_INSTALL_BINDIR}
51+
PERMISSIONS
52+
OWNER_EXECUTE
53+
OWNER_WRITE
54+
OWNER_READ
55+
GROUP_EXECUTE
56+
GROUP_READ
57+
WORLD_EXECUTE
58+
WORLD_READ
4359
RENAME lightstorm-mrbc)
4460

4561
add_library(mruby_static STATIC IMPORTED GLOBAL)

0 commit comments

Comments
 (0)