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
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ endif()
64
64
if(OSC_CODESIGN_ENABLED)
65
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`")
66
66
if(NOT OSC_CODESIGN_DEVELOPER_ID)
67
-
message(FATAL_ERROR "OSC_CODESIGN_DEVELOPER_ID must be set if OSC_CODESIGN_ENABLED is on. Example value: 'Developer ID Application Some Developer (XYA12398BF)'. Get it with `security find-identity -p codesigning -v`")
67
+
message(FATAL_ERROR "OSC_CODESIGN_DEVELOPER_ID must be set if OSC_CODESIGN_ENABLED is on")
68
68
endif()
69
69
70
70
# Specify a script that signs the built binaries just before CPack creates the DMG.
@@ -94,6 +94,16 @@ if(OSC_NOTARIZATION_ENABLED)
94
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
95
set(OSC_NOTARIZATION_PASSWORD ""CACHESTRING"App-specific password of the signer (you can create this from your apple ID account)")
96
96
97
+
if(NOT OSC_NOTARIZATION_APPLE_ID)
98
+
message(FATAL_ERROR "OSC_NOTARIZATION_APPLE_ID must be set if OSC_NOTARIZATION_ENABLED is on")
99
+
endif()
100
+
if(NOT OSC_NOTARIZATION_TEAM_ID)
101
+
message(FATAL_ERROR "OSC_NOTARIZATION_TEAM_ID must be set if OSC_NOTARIZATION_ENABLED is on")
102
+
endif()
103
+
if(NOT OSC_NOTARIZATION_PASSWORD)
104
+
message(FATAL_ERROR "OSC_NOTARIZATION_PASSWORD must be set if OSC_NOTARIZATION_ENABLE is on")
105
+
endif()
106
+
97
107
# Specify a script that notarizes the DMG after CPack creates it and it's signed (above)
0 commit comments