[CMake] Accept ENTITLEMENTS in add_llvm_executable and llvm_codesign

Summary: Allow code-signing with entitlements. FORCE may be used to avoid an error when replacing existing signatures.

Reviewers: beanz, bogner

Reviewed By: beanz

Subscribers: mgorny, llvm-commits, lldb-commits

Differential Revision: https://reviews.llvm.org/D54443

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@347068 91177308-0d34-0410-b5e6-96231b3b80d8
2 files changed