Skip to content

Commit fe9724d

Browse files
committed
Codesign all dependencies regardless of platform
1 parent b246a23 commit fe9724d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

build_scripts/apple_utils.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,4 +274,11 @@ def ConfigureCMakeExtraArgs(context, args:List[str]) -> List[str]:
274274
args.append(f"-DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=BOTH")
275275
args.append(f"-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=BOTH")
276276
args.append(f"-DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=BOTH")
277+
278+
279+
# Signing needs to happen on all systems
280+
if context.macOSCodesign:
281+
args.append(f"-DCMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY={GetCodeSignID()}")
282+
args.append(f"-DCMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM={GetDevelopmentTeamID()}")
283+
277284
return args

0 commit comments

Comments
 (0)