From e085435658e70cc825ea705c23807cbf4d14bf3e Mon Sep 17 00:00:00 2001 From: Mark Callow Date: Thu, 21 Mar 2024 18:34:31 +0900 Subject: [PATCH] Add explanatory comment. --- cmake/codesign.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/codesign.cmake b/cmake/codesign.cmake index 20cffb686c..ff576d18b4 100644 --- a/cmake/codesign.cmake +++ b/cmake/codesign.cmake @@ -9,6 +9,8 @@ macro (set_code_sign target) XCODE_ATTRIBUTE_DEVELOPMENT_TEAM "${XCODE_DEVELOPMENT_TEAM}" XCODE_ATTRIBUTE_OTHER_CODE_SIGN_FLAGS "--timestamp" XCODE_ATTRIBUTE_CODE_SIGN_INJECT_BASE_ENTITLEMENTS $,YES,NO> + # Necessary for working code signing. Signing happens at build time + # so the binary cannot be altered during install. BUILD_WITH_INSTALL_RPATH ON ) if(IOS)