Cleanup: CMake: Fix cmake warning regarding DEPENDS keyword

DEPENDS is not supported for post_build commands and recent
cmake versions have started emitting warnings about that.

This can be safely removed, as cmake has been silently ignoring
the keyword for years.
This commit is contained in:
Ray Molenkamp
2025-03-16 16:09:18 -06:00
parent 7e3e093254
commit 76cd021a5c

View File

@@ -128,7 +128,6 @@ macro(blender_src_gtest_ex)
if(WITH_WINDOWS_EXTERNAL_MANIFEST)
add_custom_command(TARGET ${TARGET_NAME} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_BINARY_DIR}/tests.exe.manifest ${TESTS_OUTPUT_DIR}/${TARGET_NAME}.exe.manifest
DEPENDS ${CMAKE_BINARY_DIR}/tests.exe.manifest
)
endif()
endif()