CMake: Fix CMP0175 warning in qt6_target_idl

Remove the invalid DEPENDS argument from the add_custom_command(TARGET)
call in qt6_target_idl. Recent CMake versions warned about this whenever
the function was called.

Pick-to: 6.8 6.9 6.10
Change-Id: I137cc6004ed29551a67384a42627de7951905a3c
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Joerg Bornemann 2025-06-04 10:05:08 +02:00
parent 727a92855f
commit 9d545d5f5d
1 changed files with 0 additions and 2 deletions

View File

@ -114,8 +114,6 @@ ${target} target will be a separate file.")
endif()
add_custom_command(TARGET ${target} POST_BUILD
${tlb_command_list}
DEPENDS
"${idc_target}"
VERBATIM
COMMAND_EXPAND_LISTS
)