macos zip_dmg manifest fix

This commit is contained in:
2021-08-16 23:00:34 +03:00
parent b0a87caa11
commit a558af3800

View File

@@ -730,11 +730,9 @@ macro(deploy_target _T)
if (_ZIP_DMG)
set(_cmd_gen_dmg ${_cmd_gen_dmg} COMMAND cd "${_DESTINATION}" "&&" zip -q -r "${_dmg_name}.zip" "${_dmg_name}")
set(_cmd_gen_dmg ${_cmd_gen_dmg} COMMAND rm "\"${_DESTINATION}/${_dmg_name}\"")
set(_TARGET_PACKAGE "${_dmg_name}.zip")
endif()
set(_comment "Generating ${_dmg_name}")
if (_ZIP_DMG)
set(_comment "${_comment}.zip")
endif()
set(_comment "Generating ${_TARGET_PACKAGE}")
add_custom_target(deploy_${_T}
# gather .app dir
COMMAND mkdir ${_VERB} -p "${_res_path}"