chore: update the file

This commit is contained in:
x-tools-author 2025-08-23 13:41:53 +08:00
parent f38191cd2e
commit bc2c38d31b
2 changed files with 4 additions and 4 deletions

View File

@ -280,13 +280,13 @@ function(x_deploy_qt_for_mac target)
return()
endif()
message(STATUS "Target path of macOS is: $<TARGET_FILE:${target}>")
message(STATUS "Target path of macOS is: $<TARGET_FILE_DIR:${target}>")
add_custom_command(
TARGET ${target}
POST_BUILD
COMMAND ${MACDEPLOYQT_EXECUTABLE} "$<TARGET_FILE:${target}>/../../../"
COMMENT "Deploy Qt for macOS..."
VERBATIM)
COMMAND ${MACDEPLOYQT_EXECUTABLE} "${target}.app"
WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
COMMENT "Making dmg...")
endfunction()
# --------------------------------------------------------------------------------------------------

Binary file not shown.