Qt: Code signing cleanup

This commit is contained in:
Vicki Pfau 2023-12-11 18:42:31 -08:00
parent ec2f791655
commit 256143944a
2 changed files with 1 additions and 1 deletions

View File

@ -483,7 +483,7 @@ if(APPLE)
fixup_bundle(\"${BUNDLE_PATH}\" \"${PLUGINS}\" \"\")
" COMPONENT ${BINARY_NAME}-qt)
if(CODESIGN_IDENTITY)
install(CODE "execute_process(COMMAND codesign -s \"${CODESIGN_IDENTITY}\" -vf -o runtime --entitlements \"${CMAKE_SOURCE_DIR}/res/entitlements.xml\" \"${BUNDLE_PATH}\")"
install(CODE "execute_process(COMMAND codesign -s \"${CODESIGN_IDENTITY}\" -vf -o runtime --timestamp --entitlements \"${CMAKE_SOURCE_DIR}/res/entitlements.plist\" \"${BUNDLE_PATH}\")"
COMPONENT ${BINARY_NAME}-qt)
endif()
else()