mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-10 08:03:04 -04:00
rbutilqt/themeeditor: Allow specifying the Apple code signing ID using an environment variable
Co-authored-by: ChatGPT-5.5 Change-Id: Idd4624c7851f7fa37afac4de59f319e0087d0bc6
This commit is contained in:
parent
58d4d2b221
commit
d42dcdcba2
1 changed files with 11 additions and 0 deletions
|
|
@ -96,6 +96,17 @@ endif()
|
|||
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||
set(CODESIGN_IDENTITY "-" CACHE STRING
|
||||
"Code signing identity to use for macOS signing")
|
||||
|
||||
if(DEFINED ENV{CODESIGN_IDENTITY})
|
||||
set(CODESIGN_IDENTITY "$ENV{CODESIGN_IDENTITY}")
|
||||
endif()
|
||||
|
||||
if("${CODESIGN_IDENTITY}" STREQUAL "-")
|
||||
message("-- Using ad-hoc Apple code signing")
|
||||
else()
|
||||
message("-- Using Apple code signing identity: ${CODESIGN_IDENTITY}")
|
||||
endif()
|
||||
|
||||
set(DMGBUILD_STAMP ${CMAKE_BINARY_DIR}/dmgbuild.stamp)
|
||||
add_custom_command(
|
||||
COMMENT "Setting up dmgbuild virtualenv"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue