mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
DolphinQt: Switch to mac-codesign script for code signing
This commit is contained in:
parent
22dda0b0c4
commit
37a7b1e5c9
@ -637,9 +637,13 @@ if(APPLE)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(MACOS_CODE_SIGNING)
|
if(MACOS_CODE_SIGNING)
|
||||||
# Code sign make file builds
|
add_custom_command(TARGET dolphin-emu
|
||||||
add_custom_command(TARGET dolphin-emu POST_BUILD
|
POST_BUILD
|
||||||
COMMAND /usr/bin/codesign -f -s "${MACOS_CODE_SIGNING_IDENTITY}" --deep --options=runtime --entitlements "${CMAKE_SOURCE_DIR}/Source/Core/DolphinQt/DolphinEmu$<$<CONFIG:Debug>:Debug>.entitlements" "$<TARGET_BUNDLE_DIR:dolphin-emu>")
|
COMMAND "${CMAKE_SOURCE_DIR}/Tools/mac-codesign.sh"
|
||||||
|
"-e" "${CMAKE_CURRENT_SOURCE_DIR}/DolphinEmu$<$<CONFIG:Debug>:Debug>.entitlements"
|
||||||
|
"${MACOS_CODE_SIGNING_IDENTITY}"
|
||||||
|
"${BUNDLE_PATH}"
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
install(TARGETS dolphin-emu RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
install(TARGETS dolphin-emu RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user