set(MACDEPLOYQT "@MACDEPLOYQT@")
set(ARG_EXTRA_BINARIES "@MACDEPLOYQT_EXTRA_BINARIES@")
set(IVW_PACKAGE_SELECT_APP "@IVW_PACKAGE_SELECT_APP@")

set(APP_BUNDLE_PATH "${CPACK_TEMPORARY_INSTALL_DIRECTORY}/${IVW_PACKAGE_SELECT_APP}.app")
set(COMMAND_ARGS
    ${MACDEPLOYQT}
    ${APP_BUNDLE_PATH}
    -verbose=3
    # Silences warnings on subsequent re-installations
    -always-overwrite
)
execute_process(COMMAND ${COMMAND_ARGS} RESULT_VARIABLE EXIT_CODE)
if(NOT EXIT_CODE EQUAL 0)
    message(FATAL_ERROR
        \"Running ${COMMAND_ARGS} failed with exit code \${EXIT_CODE}.\")
endif()
set(MACDEPLOYQT "@MACDEPLOYQT@")
set(IVW_PACKAGE_SELECT_APP "@IVW_PACKAGE_SELECT_APP@")

set(APP_BUNDLE_PATH "${CPACK_TEMPORARY_INSTALL_DIRECTORY}/${IVW_PACKAGE_SELECT_APP}.app")
set(COMMAND_ARGS
    ${MACDEPLOYQT}
    ${APP_BUNDLE_PATH}
    # Silences warnings on subsequent re-installations
    -always-overwrite
)
execute_process(COMMAND ${COMMAND_ARGS} RESULT_VARIABLE EXIT_CODE)
if(NOT EXIT_CODE EQUAL 0)
    message(FATAL_ERROR
        \"Running ${COMMAND_ARGS} failed with exit code \${EXIT_CODE}.\")
endif()
Remove unused code and macdeployqt logging
CI: Remove unused code and macdeployqt logging
