Skip to content

Commit f5bcd7f

Browse files
authored
Merge pull request swiftlang#22594 from nkcsgexi/owner-syntax-parser
cmake: specify syntax parser's permission while installing the dylib
2 parents ae862f3 + 5493485 commit f5bcd7f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/libSwiftSyntaxParser/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ endif()
4747

4848
swift_install_in_component(parser-lib
4949
FILES "${SWIFT_LIBRARY_OUTPUT_INTDIR}/${CMAKE_SHARED_LIBRARY_PREFIX}${SYNTAX_PARSER_LIB_NAME}${CMAKE_SHARED_LIBRARY_SUFFIX}"
50+
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
5051
DESTINATION "lib${LLVM_LIBDIR_SUFFIX}/swift/${SWIFT_SDK_${SWIFT_HOST_VARIANT_SDK}_LIB_SUBDIR}")
5152
swift_install_in_component(parser-lib
5253
DIRECTORY "${SWIFT_MAIN_INCLUDE_DIR}/swift-c/SyntaxParser/"

0 commit comments

Comments
 (0)