Add the missing dependency between _copy_fw_sync_headers and _sync_headers

The dependency is specified for the Ninja generator, but is missing for
others, which leads to the invalid order when building with Unix Makefiles
generator for MacOS platform.

Amends 103eca1070a75bfa97d0b72b94e0c759ef0bcd1c

Pick-to: 6.7 6.5
Fixes: QTBUG-127987
Change-Id: I78927ee3fa7b0926f03b0e5eab67983c4d0d3e67
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 2d87bb7d2eb9827899546cca3e59e8174ce04b8c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Alexey Edelev 2024-08-28 18:36:05 +02:00 committed by Qt Cherry-pick Bot
parent 60590c1a2b
commit 8e0d08d0c6

View File

@ -141,6 +141,7 @@ function(qt_copy_framework_headers target)
add_custom_target(${target}_copy_fw_sync_headers add_custom_target(${target}_copy_fw_sync_headers
COMMAND ${copy_fw_sync_headers_command} COMMAND ${copy_fw_sync_headers_command}
COMMAND ${copy_fw_sync_headers_marker_file_command} COMMAND ${copy_fw_sync_headers_marker_file_command}
DEPENDS ${target}_sync_headers
) )
endif() endif()