Skip to content

Commit 0fcea43

Browse files
committed
Add codesigning flag being passed to CMake
1 parent be3abb6 commit 0fcea43

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

build_scripts/apple_utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,9 @@ def ConfigureCMakeExtraArgs(context, args:List[str]) -> List[str]:
365365
if TargetEmbeddedOS(context):
366366
system_name = context.buildTarget
367367

368+
if context.macOSCodesign:
369+
args.append(f"-DCMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY={context.macOSCodesign}")
370+
368371
if system_name:
369372
args.append(f"-DCMAKE_SYSTEM_NAME={system_name}")
370373
args.append(f"-DCMAKE_OSX_SYSROOT={GetSDKRoot(context)}")

0 commit comments

Comments
 (0)