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
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,7 @@ endif()
64
64
if(OSC_CODESIGN_ENABLED)
65
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
+
unset(OSC_CODESIGN_DEVELOPER_ID UNSET)
67
68
message(FATAL_ERROR "OSC_CODESIGN_DEVELOPER_ID must be set if OSC_CODESIGN_ENABLED is on")
68
69
endif()
69
70
@@ -95,12 +96,15 @@ if(OSC_NOTARIZATION_ENABLED)
95
96
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
97
97
98
if(NOT OSC_NOTARIZATION_APPLE_ID)
99
+
unset(OSC_NOTARIZATION_APPLE_ID CACHE)
98
100
message(FATAL_ERROR "OSC_NOTARIZATION_APPLE_ID must be set if OSC_NOTARIZATION_ENABLED is on")
99
101
endif()
100
102
if(NOT OSC_NOTARIZATION_TEAM_ID)
103
+
unset(OSC_NOTARIZATION_TEAM_ID CACHE)
101
104
message(FATAL_ERROR "OSC_NOTARIZATION_TEAM_ID must be set if OSC_NOTARIZATION_ENABLED is on")
102
105
endif()
103
106
if(NOT OSC_NOTARIZATION_PASSWORD)
107
+
unset(OSC_NOTARIZATION_PASSWORD CACHE)
104
108
message(FATAL_ERROR "OSC_NOTARIZATION_PASSWORD must be set if OSC_NOTARIZATION_ENABLE is on")
0 commit comments