diff --git a/cmake/modules/BundleInstall.cmake.in b/cmake/modules/BundleInstall.cmake.in index 6e3217255f7..13e93703456 100644 --- a/cmake/modules/BundleInstall.cmake.in +++ b/cmake/modules/BundleInstall.cmake.in @@ -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}" )