[Caffe2] Third Party does not contain a CMakeLists.txt file

I’ve installed all.
Made third party additional git recursive get
Tried to run through cmd ,through VS and CMAKE-GUI

In VS 2017 when Generating CMAKE

Severity Code Description Project File Line Suppression State
Error CMake Error at cmake/Dependencies.cmake:129 (add_subdirectory):
The source directory

D:/dev/ML/pytorch/pytorch/third_party/cpuinfo

does not contain a CMakeLists.txt file.

D:\dev\ML\pytorch\pytorch\cmake/Dependencies.cmake 129
Error CMake Error at cmake/Dependencies.cmake:134 (set_property):
set_property could not find TARGET cpuinfo. Perhaps it has not yet been
created. D:\dev\ML\pytorch\pytorch\cmake/Dependencies.cmake 134
Error CMake Error at cmake/Dependencies.cmake:316 (add_subdirectory):
The source directory

D:/dev/ML/pytorch/pytorch/third_party/FP16

does not contain a CMakeLists.txt file. D:\dev\ML\pytorch\pytorch\cmake/Dependencies.cmake 316
Error CMake Error at cmake/Dependencies.cmake:813 (add_subdirectory):
The source directory

D:/dev/ML/pytorch/pytorch/third_party/onnx

does not contain a CMakeLists.txt file. D:\dev\ML\pytorch\pytorch\cmake/Dependencies.cmake 813
Error CMake Error at cmake/ProtoBuf.cmake:41 (add_subdirectory): D:\dev\ML\pytorch\pytorch\cmake/ProtoBuf.cmake 41
Error CMake Error at cmake/ProtoBuf.cmake:41 (add_subdirectory):
add_subdirectory given source
“D:/dev/ML/pytorch/pytorch/cmake/…/third_party/protobuf/cmake” which is
not an existing directory. D:\dev\ML\pytorch\pytorch\cmake/ProtoBuf.cmake 41
Error CMake Error at cmake/ProtoBuf.cmake:108 (get_target_property):
get_target_property() called with non-existent target
“protobuf::libprotobuf”. D:\dev\ML\pytorch\pytorch\cmake/ProtoBuf.cmake 108
Error CMake Error at cmake/public/utils.cmake:20 (get_target_property):
get_target_property() called with non-existent target “onnx”. D:\dev\ML\pytorch\pytorch\cmake/public/utils.cmake 20

Also in github you can see the full logs from running on the cmd line…

Can anyone explain me how to get Caffe2 working?
What a, I missing?
Why there is a missing CMAKELIST on third parties? How to solve it?