File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -192,15 +192,23 @@ if(UNIX AND NOT APPLE)
192192
193193 file (GLOB locale_files data/locale/*.ini)
194194
195+ set (CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS
196+ OWNER_READ
197+ OWNER_WRITE
198+ GROUP_READ
199+ WORLD_READ)
200+
195201 if (${USE_UBUNTU_FIX} )
196- install (TARGETS obs-websocket
197- LIBRARY DESTINATION "/usr/lib/obs-plugins" )
202+ install (TARGETS obs-websocket LIBRARY
203+ DESTINATION "/usr/lib/obs-plugins"
204+ PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
198205 endif ()
199206 install (TARGETS obs-websocket
200207 LIBRARY DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR} /obs-plugins" )
201208
202209 install (FILES ${locale_files}
203- DESTINATION "${CMAKE_INSTALL_FULL_DATAROOTDIR} /obs/obs-plugins/obs-websocket/locale" )
210+ DESTINATION "${CMAKE_INSTALL_FULL_DATAROOTDIR} /obs/obs-plugins/obs-websocket/locale"
211+ PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ GROUP_WRITE WORLD_READ)
204212endif ()
205213# --- End of section ---
206214
You can’t perform that action at this time.
0 commit comments