AndroidTestUtilities: Remove DEPENDS that was being silently ignored
The add_custom_command(TARGET) form does not support a DEPENDS keyword, but it was silently ignored up to now. It will soon be reported as an error, so remove the DEPENDS. The behavior will be the same as before. Issue: #26096
This commit is contained in:
parent
316840b430
commit
8dc8be0884
@ -139,7 +139,6 @@ function(android_add_test_data test_name)
|
|||||||
get_filename_component(extern_data_basename ${output} NAME)
|
get_filename_component(extern_data_basename ${output} NAME)
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
TARGET ${DATA_TARGET_NAME} POST_BUILD
|
TARGET ${DATA_TARGET_NAME} POST_BUILD
|
||||||
DEPENDS ${extern_data_source}
|
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${extern_data_source} ${DEST}/${extern_data_basename}
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${extern_data_source} ${DEST}/${extern_data_basename}
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user