The example from GitHub - r-barnes/pytorch_cmake_example was made on Linux. It needs to be adapted for Windows. This is not a CMake issue.
The example from GitHub - r-barnes/pytorch_cmake_example was made on Linux. It needs to be adapted for Windows. This is not a CMake issue.