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.8 6.7 6.5
Fixes: QTBUG-127987
Change-Id: I78927ee3fa7b0926f03b0e5eab67983c4d0d3e67
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Alexey Edelev 2024-08-28 18:36:05 +02:00
parent 5774aa2560
commit 2d87bb7d2e

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()