Skip to content

Commit 2095772

Browse files
committed
Codesign all dependencies regardless of platform
1 parent ac4a4f1 commit 2095772

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

build_scripts/apple_utils.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,4 +284,10 @@ def ConfigureCMakeExtraArgs(context, args:List[str]) -> List[str]:
284284
args.append(f"-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=BOTH")
285285
args.append(f"-DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=BOTH")
286286

287+
288+
# Signing needs to happen on all systems
289+
if context.macOSCodesign:
290+
args.append(f"-DCMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY={GetCodeSignID()}")
291+
args.append(f"-DCMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM={GetDevelopmentTeamID()}")
292+
287293
return args

0 commit comments

Comments
 (0)