You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packaging/MacOS/Packaging.cmake
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ endif()
62
62
63
63
# Handle code signing (notarization is separate - below)
64
64
if(OSC_CODESIGN_ENABLED)
65
-
set(OSC_CODESIGN_DEVELOPER_ID ""CACHESTRING"The developer ID string for the codesigning key (e.g. 'Developer ID Application: Some Developer (XYA12398BF)'). Get it with `security find-identity -p codesigning -v`")
65
+
set(OSC_CODESIGN_DEVELOPER_ID "$ENV{OSC_CODESIGN_DEVELOPER_ID}"CACHESTRING"The developer ID string for the codesigning key (e.g. 'Developer ID Application: Some Developer (XYA12398BF)'). Get it with `security find-identity -p codesigning -v`")
66
66
if(NOT OSC_CODESIGN_DEVELOPER_ID)
67
67
message(FATAL_ERROR "OSC_CODESIGN_DEVELOPER_ID must be set if OSC_CODESIGN_ENABLED is on")
68
68
endif()
@@ -90,9 +90,9 @@ if(OSC_NOTARIZATION_ENABLED)
90
90
message(FATAL_ERROR "OSC_NOTARIZATION_ENABLED is ${OSC_NOTARIZATION_ENABLED} but OSC_CODESIGN_ENABLED is ${OSC_CODESIGN_ENABLED}: notarization requires code signing to be enabled")
91
91
endif()
92
92
93
-
set(OSC_NOTARIZATION_APPLE_ID ""CACHESTRING"Apple ID of the signer (e.g. '[email protected]')")
94
-
set(OSC_NOTARIZATION_TEAM_ID ""CACHESTRING"Team ID of the signer (usually, random-looking string at the end of OSC_CODESIGN_DEVELOPER_ID)")
95
-
set(OSC_NOTARIZATION_PASSWORD ""CACHESTRING"App-specific password of the signer (you can create this from your apple ID account)")
93
+
set(OSC_NOTARIZATION_APPLE_ID "$ENV{OSC_NOTARIZATION_APPLE_ID}"CACHESTRING"Apple ID of the signer (e.g. '[email protected]')")
94
+
set(OSC_NOTARIZATION_TEAM_ID "$ENV{OSC_NOTARIZATION_TEAM_ID}"CACHESTRING"Team ID of the signer (usually, random-looking string at the end of OSC_CODESIGN_DEVELOPER_ID)")
95
+
set(OSC_NOTARIZATION_PASSWORD "$ENV{OSC_NOTARIZATION_PASSWORD}"CACHESTRING"App-specific password of the signer (you can create this from your apple ID account)")
96
96
97
97
if(NOT OSC_NOTARIZATION_APPLE_ID)
98
98
message(FATAL_ERROR "OSC_NOTARIZATION_APPLE_ID must be set if OSC_NOTARIZATION_ENABLED is on")
0 commit comments