Skip to content

Commit

Permalink
macOS packaging: Enable app sandbox in ad-hoc-packaged bundles too
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Oct 18, 2023
1 parent bc776e0 commit cf8e5a4
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 cf8e5a4

Please sign in to comment.