mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
Fix CMake build of RockboxUtility and RockboxThemeEditor on macOS (part 2)
Add search path for the Qt libraries, ignore the signature verification error and then re-sign again. Co-authored-by: Qwen3.7-Plus Change-Id: Ifa6232cd56e78e593b3395384dd2a98fa9cc67e5
This commit is contained in:
parent
2e126ee3ba
commit
bf273149b7
1 changed files with 5 additions and 0 deletions
|
|
@ -138,6 +138,11 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
|||
OUTPUT ${CMAKE_BINARY_DIR}/${deploy_TARGET}.dmg
|
||||
COMMENT "Running macdeployqt and creating dmg ${deploy_TARGET}"
|
||||
COMMAND ${MACDEPLOYQT_EXECUTABLE} ${deploy_TARGET}.app
|
||||
-libpath=/opt/homebrew/opt/qt@6/lib
|
||||
-libpath=/opt/homebrew/lib || true
|
||||
|
||||
COMMAND codesign --force --deep --sign - ${deploy_TARGET}.app
|
||||
|
||||
COMMAND ${DMGBUILD} -s ${deploy_DMGBUILDCFG}
|
||||
-Dappbundle=${deploy_TARGET}.app
|
||||
${deploy_TARGET} ${CMAKE_BINARY_DIR}/${deploy_TARGET}.dmg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue