File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -192,12 +192,17 @@ if(UNIX AND NOT APPLE)
192
192
193
193
file (GLOB locale_files data/locale/*.ini )
194
194
195
+ set (CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS
196
+ OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_EXECUTE )
197
+
195
198
if (${USE_UBUNTU_FIX} )
196
- install (TARGETS obs-websocket
197
- LIBRARY DESTINATION "/usr/lib/obs-plugins" )
199
+ install (TARGETS obs-websocket LIBRARY
200
+ DESTINATION "/usr/lib/obs-plugins"
201
+ PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ )
198
202
endif ()
199
- install (TARGETS obs-websocket
200
- LIBRARY DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR} /obs-plugins" )
203
+ install (TARGETS obs-websocket LIBRARY
204
+ DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR} /obs-plugins"
205
+ PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ )
201
206
202
207
install (FILES ${locale_files}
203
208
DESTINATION "${CMAKE_INSTALL_FULL_DATAROOTDIR} /obs/obs-plugins/obs-websocket/locale" )
You can’t perform that action at this time.
0 commit comments