vcpkg/ports/libtorch/fix-torch-includes.patch

14 lines
437 B
Diff

--- a/torch/CMakeLists.txt
+++ b/torch/CMakeLists.txt
@@ -66,10 +66,6 @@
${TORCH_ROOT}/third_party/gloo
${TORCH_ROOT}/third_party/onnx
- ${TORCH_ROOT}/third_party/flatbuffers/include
- ${TORCH_ROOT}/third_party/kineto/libkineto/include
- ${TORCH_ROOT}/third_party/cpp-httplib
- ${TORCH_ROOT}/third_party/nlohmann/include
${TORCH_SRC_DIR}/csrc
${TORCH_SRC_DIR}/csrc/api/include
${TORCH_SRC_DIR}/lib