Closed ailzhang closed 1 year ago
According to https://cmake.org/cmake/help/latest/command/add_custom_command.html, add_custom_command doesn't take TARGET and DEPENDS at the same time but cmake didn't complain, sigh...
add_custom_command
TARGET
DEPENDS
cmake is killing me
Verified a few times in https://github.com/taichi-dev/taichi/pull/7469, merging to see if it fixes it permanently.
According to https://cmake.org/cmake/help/latest/command/add_custom_command.html,
add_custom_command
doesn't takeTARGET
andDEPENDS
at the same time but cmake didn't complain, sigh...