Skip to content

Commit

Permalink
Merge pull request #12138 from fwcd/ad-hoc-entitlements-2.4
Browse files Browse the repository at this point in the history
macOS packaging: Enable app sandbox in unsigned 2.4 builds too
  • Loading branch information
daschuer committed Nov 6, 2023
2 parents ad92390 + cf8e5a4 commit 1e09aa9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/modules/BundleInstall.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ if(DEFINED APPLE_CODESIGN_IDENTITY AND DEFINED APPLE_CODESIGN_ENTITLEMENTS)
message(STATUS "Ad-hoc signing bundle without hardened runtime")
execute_process(COMMAND
codesign --verbose=4 --deep --force
--entitlements "${APPLE_CODESIGN_ENTITLEMENTS}"
--sign "${APPLE_CODESIGN_IDENTITY}"
"${PATH_TO_SIGN}"
)
Expand Down

0 comments on commit 1e09aa9

Please sign in to comment.