mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-27 01:19:31 -05:00
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:
@@ -139,7 +139,6 @@ function(android_add_test_data test_name)
|
||||
get_filename_component(extern_data_basename ${output} NAME)
|
||||
add_custom_command(
|
||||
TARGET ${DATA_TARGET_NAME} POST_BUILD
|
||||
DEPENDS ${extern_data_source}
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${extern_data_source} ${DEST}/${extern_data_basename}
|
||||
)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user