mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-10 03:25:55 +00:00
CMake: use BundleUtilities to fix up Dolphin.app
This commit is contained in:
parent
529dc6aa53
commit
38816bf51d
6 changed files with 61 additions and 176 deletions
|
@ -176,11 +176,8 @@ if(wxWidgets_FOUND)
|
|||
endforeach()
|
||||
|
||||
# Update library references to make the bundle portable
|
||||
add_custom_command(TARGET ${DOLPHIN_EXE} POST_BUILD
|
||||
COMMAND echo "Fixing up application bundle: ${BUNDLE_PATH}"
|
||||
COMMAND ${CMAKE_SOURCE_DIR}/Tools/deploy-mac.py $<TARGET_FILE_DIR:${DOLPHIN_EXE}>/../..
|
||||
)
|
||||
|
||||
include(DolphinPostprocessBundle)
|
||||
dolphin_postprocess_bundle(${DOLPHIN_EXE})
|
||||
|
||||
# Install bundle into systemwide /Applications directory.
|
||||
install(TARGETS ${DOLPHIN_EXE} DESTINATION /Applications)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue