summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorOatmealDome <julian@oatmealdome.me>2024-07-31 13:31:41 -0400
committerOatmealDome <julian@oatmealdome.me>2024-08-01 22:06:51 -0400
commitcbbffce79aa7811a6bd9c00dc4ac955662ca0a17 (patch)
tree8b27d4dcccfc1bc3ca96043536f3da19b6b02ca2 /Source
parent4883889e23ac784e004b4c80ab809920f11a69d3 (diff)
MacUpdater: Switch to mac-codesign script for code signing
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/MacUpdater/CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/Core/MacUpdater/CMakeLists.txt b/Source/Core/MacUpdater/CMakeLists.txt
index 60abe88792..b27b466df9 100644
--- a/Source/Core/MacUpdater/CMakeLists.txt
+++ b/Source/Core/MacUpdater/CMakeLists.txt
@@ -54,6 +54,10 @@ foreach(sb ${STORYBOARDS})
endforeach()
if(MACOS_CODE_SIGNING)
- add_custom_command(TARGET MacUpdater POST_BUILD
- COMMAND /usr/bin/codesign -f -s "${MACOS_CODE_SIGNING_IDENTITY}" --deep --options runtime $<TARGET_BUNDLE_DIR:MacUpdater>)
+ add_custom_command(TARGET MacUpdater
+ POST_BUILD
+ COMMAND "${CMAKE_SOURCE_DIR}/Tools/mac-codesign.sh"
+ "${MACOS_CODE_SIGNING_IDENTITY}"
+ "$<TARGET_BUNDLE_DIR:MacUpdater>"
+ )
endif()