mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-05 09:39:58 +00:00
Check for errors when postprocessing macOS app bundle
This commit is contained in:
parent
023eb34247
commit
3864723e4d
@ -58,7 +58,13 @@ if(APPLE)
|
|||||||
message(\"(Note: This is only necessary to produce a redistributable binary.\")
|
message(\"(Note: This is only necessary to produce a redistributable binary.\")
|
||||||
message(\"To skip, pass -DSKIP_POSTPROCESS_BUNDLE=1 to cmake.)\")
|
message(\"To skip, pass -DSKIP_POSTPROCESS_BUNDLE=1 to cmake.)\")
|
||||||
set(BU_CHMOD_BUNDLE_ITEMS ON)
|
set(BU_CHMOD_BUNDLE_ITEMS ON)
|
||||||
execute_process(COMMAND ${CMAKE_SOURCE_DIR}/Tools/deploy-mac.py -p platforms/libqcocoa.dylib \"${BUNDLE_PATH}\")
|
execute_process(
|
||||||
|
COMMAND ${CMAKE_SOURCE_DIR}/Tools/deploy-mac.py -p platforms/libqcocoa.dylib \"${BUNDLE_PATH}\"
|
||||||
|
RESULT_VARIABLE retcode
|
||||||
|
)
|
||||||
|
if(NOT \${retcode} EQUAL 0)
|
||||||
|
message(FATAL_ERROR \"Error when postprocessing bundle (return code: \${retcode}).\")
|
||||||
|
endif()
|
||||||
file(INSTALL ${CMAKE_SOURCE_DIR}/Data/Sys
|
file(INSTALL ${CMAKE_SOURCE_DIR}/Data/Sys
|
||||||
DESTINATION ${BUNDLE_PATH}/Contents/Resources
|
DESTINATION ${BUNDLE_PATH}/Contents/Resources
|
||||||
)
|
)
|
||||||
|
@ -128,7 +128,13 @@ if(wxWidgets_FOUND)
|
|||||||
message(\"(Note: This is only necessary to produce a redistributable binary.\")
|
message(\"(Note: This is only necessary to produce a redistributable binary.\")
|
||||||
message(\"To skip, pass -DSKIP_POSTPROCESS_BUNDLE=1 to cmake.)\")
|
message(\"To skip, pass -DSKIP_POSTPROCESS_BUNDLE=1 to cmake.)\")
|
||||||
set(BU_CHMOD_BUNDLE_ITEMS ON)
|
set(BU_CHMOD_BUNDLE_ITEMS ON)
|
||||||
execute_process(COMMAND ${CMAKE_SOURCE_DIR}/Tools/deploy-mac.py \"${BUNDLE_PATH}\")
|
execute_process(
|
||||||
|
COMMAND ${CMAKE_SOURCE_DIR}/Tools/deploy-mac.py \"${BUNDLE_PATH}\"
|
||||||
|
RESULT_VARIABLE retcode
|
||||||
|
)
|
||||||
|
if(NOT \${retcode} EQUAL 0)
|
||||||
|
message(FATAL_ERROR \"Error when postprocessing bundle (return code: \${retcode}).\")
|
||||||
|
endif()
|
||||||
file(INSTALL \"${CMAKE_SOURCE_DIR}/Data/Sys\"
|
file(INSTALL \"${CMAKE_SOURCE_DIR}/Data/Sys\"
|
||||||
DESTINATION \"${BUNDLE_PATH}/Contents/Resources\"
|
DESTINATION \"${BUNDLE_PATH}/Contents/Resources\"
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user