cmake: Grab TORCH_DEFAULT_VERSION from version.txt (#35260)
Summary:
This variable hasn't been updated in a long time since it usually just
gets overwritten by whatever is in the setup.py but let's set the
default to something a bit more in-line with what we're actually
building.
Closes https://github.com/pytorch/pytorch/issues/35210
cc ksasso1028
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/35260
Differential Revision: D20818302
Pulled By: seemethere
fbshipit-source-id: 530fe137e45be1d0ac0233525c80f7099c17b05a