mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 19:31:02 +01:00
Add support for Apple code signing.
Use -DAPPLE_DEVELOPER_ID="<Certificate Common Name>"
This commit is contained in:
parent
024ec6a24b
commit
0fae2e1ae1
@ -1289,6 +1289,14 @@ if (APPLE)
|
||||
add_custom_target(clementine-breakpad
|
||||
DEPENDS ${PROJECT_BINARY_DIR}/clementine.breakpad)
|
||||
|
||||
if (APPLE_DEVELOPER_ID)
|
||||
add_custom_command(TARGET clementine
|
||||
POST_BUILD
|
||||
COMMAND
|
||||
codesign -s "${APPLE_DEVELOPER_ID}" -fv ${PROJECT_BINARY_DIR}/clementine.app
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT ${PROJECT_BINARY_DIR}/clementine-${CLEMENTINE_VERSION_SPARKLE}.dmg
|
||||
|
Loading…
Reference in New Issue
Block a user