mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
MacUpdater: Post-process the bundle
This commit is contained in:
parent
4fa78be3ad
commit
16acdb630b
@ -53,6 +53,18 @@ foreach(sb ${STORYBOARDS})
|
|||||||
COMMENT "Compiling Storyboard ${sb}...")
|
COMMENT "Compiling Storyboard ${sb}...")
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
if(NOT SKIP_POSTPROCESS_BUNDLE)
|
||||||
|
# Update library references to make the bundle portable
|
||||||
|
include(DolphinPostprocessBundle)
|
||||||
|
dolphin_postprocess_bundle(MacUpdater)
|
||||||
|
|
||||||
|
# Fix rpath
|
||||||
|
add_custom_command(TARGET MacUpdater
|
||||||
|
POST_BUILD COMMAND
|
||||||
|
${CMAKE_INSTALL_NAME_TOOL} -add_rpath "@executable_path/../Frameworks/"
|
||||||
|
$<TARGET_FILE:MacUpdater>)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(MACOS_CODE_SIGNING)
|
if(MACOS_CODE_SIGNING)
|
||||||
add_custom_command(TARGET MacUpdater
|
add_custom_command(TARGET MacUpdater
|
||||||
POST_BUILD
|
POST_BUILD
|
||||||
|
Loading…
Reference in New Issue
Block a user