[BE] force cmake to always generate version.py (#52477)
Summary:
Fix the issue that `add_custom_command(OUTPUT ...)` will only be called when target output is missing.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/52477
Reviewed By: malfet
Differential Revision: D26538718
Pulled By: walterddr
fbshipit-source-id: 0fef40585a0f888dcbe268deb2e7a7a8d81e6aa1
Author
Rong Rong (AI Infra)