Skip to content

Commit 8d5a8e3

Browse files
committed
Codesign all dependencies regardless of platform
1 parent cad5058 commit 8d5a8e3

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
@@ -291,4 +291,10 @@ def ConfigureCMakeExtraArgs(context, args:List[str]) -> List[str]:
291291
args.append(f"-DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=BOTH")
292292
args.append(f"-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=BOTH")
293293
args.append(f"-DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=BOTH")
294+
295+
296+
# Signing needs to happen on all systems
297+
args.append(f"-DCMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY={GetCodeSignID()}")
298+
args.append(f"-DCMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM={GetDevelopmentTeamID()}")
299+
294300
return args

0 commit comments

Comments
 (0)